秋祭 | 静岡高校工学部



卬高杯


提出詳細

提出id提出時刻ユーザー名問題言語判定状況判定実行時間
1148792023-10-24 09:52:58matsumarutetsujiApython19/19RE81

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


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