QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#258193 | #7800. Every Queen | waifuSenpai# | WA | 30ms | 3420kb | C++20 | 3.7kb | 2023-11-19 15:54:46 | 2023-11-19 15:54:47 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 1ms
memory: 3400kb
input:
3 2 1 1 2 2 4 0 1 1 0 3 1 4 0 5 0 1 1 0 1 2 2 2 4 2
output:
YES 1 3 NO YES 1 2
result:
ok OK (3 test cases)
Test #2:
score: 0
Accepted
time: 0ms
memory: 3384kb
input:
1 4 -100000000 -100000000 100000000 -100000000 -100000000 100000000 100000000 100000000
output:
YES -100000000 100000000
result:
ok OK (1 test case)
Test #3:
score: 0
Accepted
time: 0ms
memory: 3388kb
input:
330 3 5 1 -3 -5 -2 2 2 1 4 4 0 4 2 -5 3 -3 -5 4 2 -2 2 -4 1 2 4 1 1 5 4 3 5 -2 3 5 2 -3 -3 5 -3 -4 2 -1 -2 -2 1 0 -1 -5 5 4 -3 -2 -4 2 2 0 -5 -4 -3 4 0 0 -3 -5 0 5 5 0 1 1 -1 5 0 2 3 4 1 4 4 5 5 0 3 -4 -5 -5 -3 5 -5 3 -1 2 -4 -4 -1 5 4 1 1 4 5 -1 0 5 2 1 -3 2 5 5 0 4 1 -3 -5 3 -3 0 0 5 0 1 -5 4 -5 5...
output:
YES 4 2 YES 1 3 YES 2 -3 YES -4 10 YES 1 5 NO NO NO YES 0 -5 YES 1 -1 NO YES -3 -5 YES -1 -7 YES 1 2 YES -3 2 NO YES -5 -4 YES -3 7 YES -5 -4 YES -2 0 NO YES 2 0 YES -1 -2 YES 5 1 YES 0 -1 YES 1 5 YES -5 -2 YES 4 6 NO YES 5 -4 NO YES 4 0 YES 3 5 YES -1 -1 YES -5 1 NO NO YES 3 -3 YES 2 0 YES 1 -4 YES...
result:
ok OK (330 test cases)
Test #4:
score: -100
Wrong Answer
time: 30ms
memory: 3420kb
input:
33773 4 -2 -5 4 -1 -5 4 2 -1 3 5 1 1 0 -2 4 1 -5 -4 4 -3 1 5 -1 1 -2 -3 5 2 -2 -2 0 2 4 -2 -1 4 -5 1 1 1 -4 3 -5 -5 -5 0 -3 -5 1 -3 0 4 -5 -4 2 2 -5 -3 5 -3 1 -5 0 2 -3 -3 -4 -3 1 3 -2 3 -2 -2 5 -4 5 -3 2 5 -1 -5 2 4 0 -1 5 1 0 0 -4 -1 1 -5 4 4 -5 3 3 0 -1 -3 0 3 2 4 0 0 -3 2 -2 4 0 1 2 -3 3 4 1 3 -...
output:
NO YES 5 4 YES -5 -4 NO YES -2 4 NO YES 0 -5 YES -3 0 NO YES -5 0 YES -3 -4 YES 3 -2 YES 5 -9 YES 5 -8 NO YES -5 4 NO YES 4 -7 YES -2 3 YES -3 8 YES 1 -2 NO YES 0 1 YES 3 5 NO NO YES 2 2 YES -4 -4 YES 2 -3 YES 4 -5 YES 4 -6 YES -1 7 NO YES -3 3 NO YES 1 -8 YES 3 -7 NO NO YES 0 4 NO YES 1 -9 YES -1 6...
result:
wrong answer Queen (-5, -1) does not attack square (-1, 0) (test case 2868)