| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 1595 | A班-过懿萱 | 输出满足条件的整数4 | C++ | Wrong Answer | 50 | 1 MS | 256 KB | 337 | 2024-12-07 10:52:03 |
#include <bits/stdc++.h> using namespace std; int main() { int n; cin>>n; for(int i = 1;i <= n;i++) { int shi,ge; shi = i / 10; ge = i % 10; if((shi == 3 || ge == 3 || shi == 5 || ge == 5) && i % 2 == 0) { cout<<i<<endl; } } return 0; }