| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 335147 | 李俞家骅 | 【C2-1】输出是2的倍数,但非3的倍数的数 | C++ | Accepted | 100 | 26 MS | 236 KB | 185 | 2025-07-22 09:09:15 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,i=1; cin>>n; while(i<=n){ if(i%2==0&&i%3!=0){ cout<<i<<endl; } i++; } return 0; }