제출 #833822

#제출 시각아이디문제언어결과실행 시간메모리
833822baqqon_은행 (IZhO14_bank)C++17
0 / 100
1 ms336 KiB
#include <bits/stdc++.h> using namespace std; int main() { int n,m; cin>>n>>m; vector<int> a; int t; cin>>t; for (int i=0; i<m; i++) { int q; cin>>q; a.push_back(q); } if (n , t , n , t) { cout << "YES"; } else { cout << "NO"; } return 0; }

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

bank.cpp: In function 'int main()':
bank.cpp:16:9: warning: left operand of comma operator has no effect [-Wunused-value]
   16 |     if (n , t , n , t) {
      |         ^
bank.cpp:16:17: warning: right operand of comma operator has no effect [-Wunused-value]
   16 |     if (n , t , n , t) {
      |                 ^
bank.cpp:16:21: warning: right operand of comma operator has no effect [-Wunused-value]
   16 |     if (n , t , n , t) {
      |                     ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...