| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 2472 | 王兮 | 数的分类 | C++ | Runtime Error | 0 | 0 MS | 248 KB | 303 | 2019-11-26 21:09:44 |
#include<iostream> int main() { int N,a[100],i=0; scanf("%d",&N); for(;i<=N-1;N++) { scanf("%d",a[i]); } while(1) { for(;i<=N-1;N++) { if(a[i]%2==0) { printf("%d",a[i]); } else if(a[i%2]!=0) { printf("%d",a[i]); } } } return 0; }