| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 307994 | 李明灿 | 【C2-1】输出是2的倍数,但非3的倍数的数 | C++ | Accepted | 100 | 21 MS | 248 KB | 159 | 2025-01-05 10:22:12 |
#include<iostream> using namespace std; int main(){ int i,n; cin>>n; while(i<=n){ if(i%2==0&&i%3!=0){ cout<<i<<endl;} i+=1; } return 0; }