QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#527212#5604. Triangle ContainmentZhaoZiLongTL 0ms3700kbC++171.0kb2024-08-22 12:12:312024-08-22 12:12:32

詳細信息

Test #1:

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

input:

5 8
-8 1 1
-1 10 2
0 3 4
7 1 8
8 2 16

output:

0
12
0
0
8

result:

ok 5 lines

Test #2:

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

input:

6 6
0 1 1
2 3 10
2 5 100
3 1 1000
3 5 10000
4 5 100000

output:

0
1000
1010
0
1010
1000

result:

ok 6 lines

Test #3:

score: -100
Time Limit Exceeded

input:

99999 1000000000
500002962 1 1
500025469 1 1
500044229 1 1
500026049 1 1
499983663 1 1
499965983 1 1
499988191 1 1
499987116 1 1
500029240 1 1
499975570 1 1
499973295 1 1
499986404 1 1
500023312 1 1
499964976 1 1
499952153 1 1
500046927 1 1
499951857 1 1
499984523 1 1
500038724 1 1
499991318 1 1
500...

output:


result: