제출 #1152577

#제출 시각아이디문제언어결과실행 시간메모리
1152577justin271828Trobojnica (COCI19_trobojnica)C++20
0 / 110
0 ms320 KiB
#include <bits/stdc++.h> using namespace std; #define l2 long long int main() { int n; cin >> n; string s; cin >> s; int one = 0; int two = 0; int three = 0; for (char c: s) { if (c == '1') one++; else if (c == '2') two++; else three++; } one %= 2; two %= 2; three %= 2; if (one == two && two == three) cout << "DA"; else cout << "NE"; return 0;}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...