| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 137818 | 刘益梵 | 哪几扇门是打开的 | C++ | Accepted | 0 MS | 260 KB | 254 | 2025-11-22 17:28:16 |
#include<bits/stdc++.h> using namespace std; bool a[105]; int main(){ for(int i=1;i<=100;i++){ for(int j=1;j<=100;j++){ if(j%i==0) a[j] = !a[j]; } } for(int i=1;i<=100;i++){ if(a[i]==1) printf("%d ",i); } return 0; }