QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#204153#5279. New TimeOverLoadRE 0ms0kbPython3404b2023-10-07 04:20:002023-10-07 04:20:00

Judging History

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

  • [2023-10-07 04:20:00]
  • 评测
  • 测评结果:RE
  • 用时:0ms
  • 内存:0kb
  • [2023-10-07 04:20:00]
  • 提交

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])



    a=0

    a=real_minute-minute
    if(a>0):
        count=int(a/60)+int(a%60)
    elif(a<0):
        count=int((1440+a)/60)+int((1440+a)%60)
    print(a)











Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Dangerous Syscalls

input:

11:57
12:00

output:


result: