結果
問題 |
No.1406 Test
|
ユーザー |
|
提出日時 | 2024-04-12 22:37:37 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 277 bytes |
コンパイル時間 | 233 ms |
コンパイル使用メモリ | 82,240 KB |
実行使用メモリ | 66,112 KB |
最終ジャッジ日時 | 2024-10-02 23:33:05 |
合計ジャッジ時間 | 2,070 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 15 WA * 3 RE * 4 |
ソースコード
def main(): input() a=list(map(int,input().split())) total=sum(a) n=len(a)+1 cnt=0 # nで割ったあまりが0ならok for i in range(0,100): if (total+i)%n==0: cnt+=1 print(cnt) if __name__ == "__main__": main()