Run ID:140291

提交时间:2025-12-13 18:14:14

#include<bits/stdc++.h> using namespace std; int o[101][101],l,n,m=0; int main(){ scanf("%d",&n); for(int i=1;i<=n;i++){ for(int j=1;j<=n;j++){ scanf("%d,&n",&o[i][j]); } } for(int i=1;i<=n;i++){ for(int j=1;j<=n;j++){ if(o[i][j]==1){ m++; } } } if(m%2!=0){ printf("Corrupt"); } else{ printf("OK"); } return 0; }