QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#204166#5279. New TimeOverLoadWA 15ms9168kbPython3357b2023-10-07 04:44:172023-10-07 04:44:18

Judging History

你现在查看的是最新测评结果

  • [2023-10-07 04:44:18]
  • 评测
  • 测评结果:WA
  • 用时:15ms
  • 内存:9168kb
  • [2023-10-07 04:44:17]
  • 提交

answer

if __name__ == '__main__':
    a=input()
    minute = (int(a[0]) * 10 + int(a[1])) * 60 + int(a[3]) * 10 + int(a[4])
    
    a=input()
    real_minute=(int(a[0])*10+int(a[1]))*60+int(a[3])*10+int(a[4])
    print()
   
    a=real_minute-minute
    if(a>0):
        print(int(a/60)+a%60)
    elif(a<0):
        print(int((1440+a)/60)+(1440+a)%60)

詳細信息

Test #1:

score: 100
Accepted
time: 14ms
memory: 9036kb

input:

11:57
12:00

output:


3

result:

ok 1 number(s): "3"

Test #2:

score: 0
Accepted
time: 15ms
memory: 9076kb

input:

09:09
21:21

output:


24

result:

ok 1 number(s): "24"

Test #3:

score: 0
Accepted
time: 13ms
memory: 9100kb

input:

19:44
08:50

output:


19

result:

ok 1 number(s): "19"

Test #4:

score: 0
Accepted
time: 6ms
memory: 9068kb

input:

13:45
17:58

output:


17

result:

ok 1 number(s): "17"

Test #5:

score: 0
Accepted
time: 12ms
memory: 9100kb

input:

02:57
21:05

output:


26

result:

ok 1 number(s): "26"

Test #6:

score: 0
Accepted
time: 13ms
memory: 9068kb

input:

18:15
22:59

output:


48

result:

ok 1 number(s): "48"

Test #7:

score: 0
Accepted
time: 9ms
memory: 9112kb

input:

18:12
09:42

output:


45

result:

ok 1 number(s): "45"

Test #8:

score: -100
Wrong Answer
time: 13ms
memory: 9168kb

input:

00:00
00:00

output:



result:

wrong answer Answer contains longer sequence [length = 1], but output contains 0 elements