제출 #845057

#제출 시각아이디문제언어결과실행 시간메모리
845057PiokemonFootball (info1cup20_football)C++17
0 / 100
20 ms348 KiB
#include <bits/stdc++.h> using namespace std; int main(){ ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); int t,n,k,ksor,a; cin >> t; while(t--){ cin >> n >> k; int suma=0; for (int x=0;x<n;x++){ cin >> a; suma+=a; } cout << suma%2; } cout << '\n'; return 0; }

컴파일 시 표준 에러 (stderr) 메시지

football.cpp: In function 'int main()':
football.cpp:8:12: warning: unused variable 'ksor' [-Wunused-variable]
    8 |  int t,n,k,ksor,a;
      |            ^~~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...