Submission #833822

#TimeUsernameProblemLanguageResultExecution timeMemory
833822baqqon_Bank (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; }

Compilation message (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...