| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 57511 | 邢逸轩 | 硬币翻转 | C++ | Accepted | 100 | 0 MS | 256 KB | 249 | 2022-08-05 17:33:25 |
#include<bits/stdc++.h> using namespace std; int n,a[110]; int main(){ cin>>n; cout<<n<<endl; for(int i=1;i<=n;i++){ for(int j=1;j<=n;j++) if(j!=i) a[j]=(a[j]?0:1); for(int j=1;j<=n;j++) cout<<a[j]; cout<<endl; } return 0; }