QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505506#5917. Pogoxiaowuc135 ✓1ms3596kbC++171.8kb2024-08-05 05:49:232024-08-05 05:49:25

詳細信息

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 0ms
memory: 3596kb

input:

50
3 4
-3 4
100 100
1 -1
-86 -62
-1 -2
-2 -2
-2 0
-16 0
19 -21
-68 -29
94 -63
0 -4
0 -2
-38 0
75 -38
14 0
7 82
-73 79
0 22
-2 1
28 26
10 -71
1 1
44 -3
77 -88
-68 -54
-11 42
-2 -1
0 -1
29 0
29 26
86 95
0 -3
66 31
90 5
-76 84
78 86
1 -2
0 1
15 0
-34 -67
-77 54
-20 24
-1 1
-100 -100
-1 0
-88 -41
1 0
-1...

output:

Case #1: WNSEN
Case #2: ENSWN
Case #3: SNNSNEENNEENNEENNEEN
Case #4: ENS
Case #5: NESNWESNSWSWSWSWSWW
Case #6: WS
Case #7: NWS
Case #8: WEW
Case #9: WEWEWWW
Case #10: NNSWENSESES
Case #11: ESNSWWSSWWSWWW
Case #12: NWSNSEESESESESESEE
Case #13: NSS
Case #14: SNS
Case #15: NNSSNNSWWWW
Case #16: ENSWENS...

result:

ok correct! (50 test cases)

Subtask #2:

score: 25
Accepted

Test #2:

score: 25
Accepted
time: 1ms
memory: 3488kb

input:

100
339899 0
1 -2
0 -941200
938388 -188955
230551 284863
967800 956902
0 45602
-329604 865934
-359116 47083
-171747 269383
288153 777224
-43998 53674
-467 872624
-422077 699820
314862 -629399
435722 186813
197903 637840
828425 -619367
-1000000 -1000000
784918 485678
-2 0
470489 0
1 -1
187815 288961
...

output:

Case #1: SNNSSNNSSNNSSNNSSNNSSNNSSNNSEWEWEWEWEWEWEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE...

result:

ok correct! (100 test cases)

Extra Test:

score: 0
Extra Test Passed