ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#209776 | #3777. 奇因子 | kevin777 | 100 | 687ms | 1240kb | C++ | 228b | 2024-08-05 08:58:03 | 2024-08-05 12:10:28 |
answer
#include<bits/stdc++.h>
#pragma GCC optimize(2)
using namespace std;
string a[4] = {"NO","YES","OR","YES"};
int main() {
int T;
cin>>T;
while(T--){
long long n;
cin>>n;
cout<<a[n % 4]<<endl;
}
return 0;
}
详细
小提示:点击横条可展开更详细的信息
Test #1:
score: 10
Accepted
time: 0ms
memory: 1240kb
input:
20 302118333 1054710289 1418190703 939730465 1907627903 1349259461 1979398203 478411255 731277843 11...
output:
YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES
result:
ok 20 tokens
Test #2:
score: 10
Accepted
time: 246ms
memory: 1240kb
input:
200000 304818619 15806543 1058045247 970655479 1761754839 624461877 427470553 1758619443 1702604597 ...
output:
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 ...
result:
ok 200000 tokens
Test #3:
score: 10
Accepted
time: 0ms
memory: 1236kb
input:
4 33301 55497 1118 65948
output:
YES YES OR NO
result:
ok 4 tokens
Test #4:
score: 10
Accepted
time: 0ms
memory: 1236kb
input:
10 26451 90732 46428 69649 84428 3821 87098 22756 1599 20377
output:
YES NO NO YES NO YES OR NO YES YES
result:
ok 10 tokens
Test #5:
score: 10
Accepted
time: 0ms
memory: 1236kb
input:
5 791815840 923996527 447569082 569907594 16791438
output:
NO YES OR OR OR
result:
ok 5 tokens
Test #6:
score: 10
Accepted
time: 0ms
memory: 1236kb
input:
10 933677171 80672280 871026982 686999126 222809490 328782598 546250569 999606744 230235754 602991855
output:
YES NO OR OR OR OR YES NO OR YES
result:
ok 10 tokens
Test #7:
score: 10
Accepted
time: 0ms
memory: 1240kb
input:
100 988836790788566373 976956787252991603 157773141109060225 439110675991632875 727024619263000014 1...
output:
YES YES YES YES OR OR NO YES YES NO YES NO YES OR YES OR OR YES YES OR NO YES OR YES OR OR NO OR NO ...
result:
ok 100 tokens
Test #8:
score: 10
Accepted
time: 8ms
memory: 1236kb
input:
10000 671158605347838243 513249126770244666 117342941221796189 300423738741787656 469288152380113631...
output:
YES OR YES NO YES NO OR NO YES OR NO NO OR YES NO OR YES NO OR OR NO YES YES NO OR YES NO NO OR YES ...
result:
ok 10000 tokens
Test #9:
score: 10
Accepted
time: 113ms
memory: 1236kb
input:
100000 869117640366062808 514512386603976360 82890967616142404 445654498537476894 338140147330517001...
output:
NO NO NO OR YES OR NO YES YES YES YES YES YES OR OR OR YES OR YES YES YES OR YES OR YES YES YES NO Y...
result:
ok 100000 tokens
Test #10:
score: 10
Accepted
time: 320ms
memory: 1236kb
input:
200000 877229846391692286 99922075583325613 876495120305845373 333161697972281581 752971854673700989...
output:
OR YES YES YES YES OR YES OR YES YES OR OR NO YES NO NO OR OR YES NO NO YES YES YES OR YES OR OR YES...
result:
ok 200000 tokens
Extra Test:
score: 0
Extra Test Passed