Submission #19538705


Source Code Expand

Copy
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(){
  ll a[4][4];
  for(int i = 0;i < 4;i++){
    for(int j = 0;j < 4;j++){
      cin >> a[i][j];
    }
  }
  bool res = false;
  for(int i = 0;i < 4;i++){
    if(a[i][0] == a[i][1] || a[i][1] == a[i][2] || a[i][2] == a[i][3])res = true;
    if(a[0][i] == a[1][i] || a[1][i] == a[2][i] || a[2][i] == a[3][i])res = true;
  }
  if(res)cout << "CONTINUE" << endl;
  else cout << "GAMEOVER" << endl;
}

Submission Info

Submission Time
Task A - DEAD END
User SotaUN
Language C++ (GCC 9.2.1)
Score 100
Code Size 489 Byte
Status AC
Exec Time 8 ms
Memory 3644 KB

Judge Result

Set Name All
Score / Max Score 100 / 100
Status
AC × 35
Set Name Test Cases
All hand_1.txt, hand_2.txt, random_1.txt, random_10.txt, random_11.txt, random_12.txt, random_13.txt, random_14.txt, random_15.txt, random_16.txt, random_17.txt, random_18.txt, random_19.txt, random_2.txt, random_20.txt, random_21.txt, random_22.txt, random_23.txt, random_24.txt, random_25.txt, random_26.txt, random_27.txt, random_28.txt, random_29.txt, random_3.txt, random_30.txt, random_4.txt, random_5.txt, random_6.txt, random_7.txt, random_8.txt, random_9.txt, sample_1.txt, sample_2.txt, sample_3.txt
Case Name Status Exec Time Memory
hand_1.txt AC 8 ms 3440 KB
hand_2.txt AC 2 ms 3412 KB
random_1.txt AC 3 ms 3604 KB
random_10.txt AC 2 ms 3444 KB
random_11.txt AC 2 ms 3456 KB
random_12.txt AC 2 ms 3416 KB
random_13.txt AC 2 ms 3588 KB
random_14.txt AC 1 ms 3532 KB
random_15.txt AC 2 ms 3644 KB
random_16.txt AC 1 ms 3528 KB
random_17.txt AC 2 ms 3608 KB
random_18.txt AC 2 ms 3536 KB
random_19.txt AC 2 ms 3576 KB
random_2.txt AC 2 ms 3644 KB
random_20.txt AC 2 ms 3528 KB
random_21.txt AC 2 ms 3532 KB
random_22.txt AC 2 ms 3460 KB
random_23.txt AC 2 ms 3440 KB
random_24.txt AC 2 ms 3600 KB
random_25.txt AC 3 ms 3416 KB
random_26.txt AC 2 ms 3572 KB
random_27.txt AC 1 ms 3628 KB
random_28.txt AC 2 ms 3632 KB
random_29.txt AC 2 ms 3588 KB
random_3.txt AC 2 ms 3592 KB
random_30.txt AC 2 ms 3572 KB
random_4.txt AC 2 ms 3528 KB
random_5.txt AC 2 ms 3532 KB
random_6.txt AC 2 ms 3408 KB
random_7.txt AC 2 ms 3600 KB
random_8.txt AC 2 ms 3452 KB
random_9.txt AC 1 ms 3528 KB
sample_1.txt AC 2 ms 3532 KB
sample_2.txt AC 2 ms 3444 KB
sample_3.txt AC 2 ms 3528 KB