秋祭 | 静岡高校工学部



卬高杯


提出詳細

提出id提出時刻ユーザー名問題言語判定状況判定実行時間
1149302023-10-25 03:19:16matsumarutetsujiApython19/19RE76

N = input(" ")
if N > 1882:
    M = 1882 - N
else: M = -1
print(M)

sample1.txt RE 75
sample2.txt RE 75
sample3.txt RE 76
sample4.txt RE 75
sample5.txt RE 75
case1.txt RE 75
case2.txt RE 75
case3.txt RE 75
case4.txt RE 75
case5.txt RE 74
case6.txt RE 76
case7.txt RE 74
case8.txt RE 75
case9.txt RE 76
case10.txt RE 76
case11.txt RE 74
case12.txt RE 75
case13.txt RE 74
case14.txt RE 75
76 RE
Traceback (most recent call last):
  File "/var/www/judge/submit2/114930/a.py", line 2, in <module>
    if N > 1882:
TypeError: '>' not supported between instances of 'str' and 'int'