Submission #786074

# Submission time Handle Problem Language Result Execution time Memory
786074 2023-07-18T02:33:29 Z devariaota Exhibition (JOI19_ho_t2) C++17
0 / 100
1 ms 212 KB
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;

void ans(string s) {
  cout << s << endl;
}

ll q, now = 0;
int main(){
  cin >> q;
  while(q--) {
    now++;
    ll out;
    cin >> out;
    if (out != now)
    {
      ans("SALAH");
      now = 0;
    } else {
      ans("BENAR");
    }
  }
  return 0;
}
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -