Submitted 4 years 9 months 1 day ago
Tue Feb 04 19:20:49 CST 2020
Judger: ZJS
Dataset Version: v0
0 ms /
6920 KB
Final
0
Problem: lss2.lucky
Language: GNU C++ 11
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 6<...>
NO NO NO YES NO NO YES YES NO NO YES YES NO YES YES YES NO YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES <...>
Expected double, but "NO" found (ans.txt)
517392239 20359482 463864070 166057677 777837818 798177883 111505856 175976054 43671066 334639029 796349382 535237023 864800574 501826197 640267457 449696273 566875403 746423563 748768952 336279051 200247414 603023486 725641503 25297<...>
YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES Y<...>
Expected double, but "YES" found (ans.txt)
517392239 20359482 463864070 166057677 777837818 798177883 111505856 175976054 43671066 334639029 796349382 535237023 864800574 501826197 640267457 449696273 566875403 746423563 748768952 336279051 200247414 603023486 725641503 25297<...>
YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES Y<...>
Expected double, but "YES" found (ans.txt)
#include <bits/stdc++.h>
using namespace std;
set<int> s={1, 2, 3, 5, 6, 9, 10, 13, 17 };
int main(){
int x;
while(scanf("%d",&x)!=1){
if(s.count(x)){
puts("NO");
// cout<<"NO"<<endl;
}else{
puts("YES");
// cout<<"YES"<<endl;
}
}
}