Submission #786074

#TimeUsernameProblemLanguageResultExecution timeMemory
786074devariaotaExhibition (JOI19_ho_t2)C++17
0 / 100
1 ms212 KiB
#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 timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...