Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
33759 张淳睿 九宫格 C++ Accepted 1 MS 244 KB 284 2023-12-15 15:16:34

Tests(2/2):


#include<iostream> using namespace std; int main() { int a,b,c,d,e,f,g,h,i; cin>>a>>b>>c>>d>>e>>f>>g>>h>>i; if(a+b+c==15&&d+e+f==15&&g+h+i==15&&a+d+g==15&&b+e+h==15&&c+f+i==15&&a+e+i==15&&c+e+g==15){ cout<<"1"; } else{ cout<<"0"; } return 0; }


Judgement Protocol: