제출 #1106999

#제출 시각아이디문제언어결과실행 시간메모리
1106999vjudge1은행 (IZhO14_bank)C++17
0 / 100
1 ms336 KiB
#include <bits/stdc++.h> #define sz size() #define ll long long #define int long long #define speed ios_base::sync_with_stdio(0); #define pb push_back using namespace std; int s[200002]; signed main(){ int start = 10; int endd = 30; int x = rand() % (endd - start + 1) + start; int a,b; cin >> a>> b; for(int i=0;i<a;i++){ int q; cin >> q; } for(int i=0;i<b;i++){ int q; cin >> q; } if(b%2==1)cout <<"YES"; else cout << "NO"; }

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

bank.cpp: In function 'int main()':
bank.cpp:13:9: warning: unused variable 'x' [-Wunused-variable]
   13 |     int x = rand() % (endd - start + 1) + start;
      |         ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...