QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#578645#4688. Window Managernullptr_qwqWA 34ms4036kbC++204.8kb2024-09-20 20:37:212024-09-20 20:37:26

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3796kb

input:

320 200
OPEN 50 50 10 10
OPEN 70 55 10 10
OPEN 90 50 10 10
RESIZE 55 55 40 40
RESIZE 55 55 15 15
MOVE 55 55 40 0
CLOSE 55 55
CLOSE 110 60
MOVE 95 55 0 -100

output:

Command 4: RESIZE - window does not fit
Command 7: CLOSE - no window at given position
Command 9: MOVE - moved 50 instead of 100
2 window(s):
90 0 15 15
115 50 10 10

result:

ok 6 lines

Test #2:

score: 0
Accepted
time: 0ms
memory: 3780kb

input:

10 10
OPEN 0 0 8 8
MOVE 0 0 5 0

output:

Command 2: MOVE - moved 2 instead of 5
1 window(s):
2 0 8 8

result:

ok 3 lines

Test #3:

score: 0
Accepted
time: 0ms
memory: 3752kb

input:

10 10
OPEN 2 2 8 8
MOVE 3 3 -5 0

output:

Command 2: MOVE - moved 2 instead of 5
1 window(s):
0 2 8 8

result:

ok 3 lines

Test #4:

score: 0
Accepted
time: 0ms
memory: 3748kb

input:

10 10
OPEN 2 2 8 8
MOVE 3 3 0 -5

output:

Command 2: MOVE - moved 2 instead of 5
1 window(s):
2 0 8 8

result:

ok 3 lines

Test #5:

score: 0
Accepted
time: 0ms
memory: 4036kb

input:

10 10
OPEN 0 0 8 8
MOVE 0 0 0 5

output:

Command 2: MOVE - moved 2 instead of 5
1 window(s):
0 2 8 8

result:

ok 3 lines

Test #6:

score: -100
Wrong Answer
time: 34ms
memory: 3748kb

input:

6000 6000
OPEN 5000 5000 5 5
OPEN 5000 4990 5 5
OPEN 5000 4980 5 5
OPEN 5000 4970 5 5
OPEN 5000 4960 5 5
OPEN 5000 4950 5 5
OPEN 5000 4940 5 5
OPEN 5000 4930 5 5
OPEN 5000 4920 5 5
OPEN 5000 4910 5 5
OPEN 5000 4900 5 5
OPEN 5000 4890 5 5
OPEN 5000 4880 5 5
OPEN 5000 4870 5 5
OPEN 5000 4860 5 5
OPEN ...

output:

201
200 window(s):
5000 4000 5 5
5000 3995 5 5
5000 3990 5 5
5000 3985 5 5
5000 3980 5 5
5000 3975 5 5
5000 3970 5 5
5000 3965 5 5
5000 3960 5 5
5000 3955 5 5
5000 3950 5 5
5000 3945 5 5
5000 3940 5 5
5000 3935 5 5
5000 3930 5 5
5000 3925 5 5
5000 3920 5 5
5000 3915 5 5
5000 3910 5 5
5000 3905 5 5
5...

result:

wrong answer 1st lines differ - expected: '200 window(s):', found: '201'