QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#150424#5604. Triangle ContainmentMaMengQiWA 24ms10836kbC++232.0kb2023-08-25 17:05:122023-08-25 17:05:13

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3588kb

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: 1ms
memory: 3528kb

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
Wrong Answer
time: 24ms
memory: 10836kb

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:

98706
66676
66675
66674
66673
66672
66671
66670
66669
66668
66667
66666
66652
66664
66663
66662
66661
66660
66659
66658
66657
66656
66655
66654
66653
66665
66700
66699
66698
66697
66696
66695
66694
66693
66692
66691
66690
66677
66688
66687
66686
66685
66684
66683
66682
66681
66680
66679
66678
66640
...

result:

wrong answer 1st lines differ - expected: '0', found: '98706'