結果
問題 | No.316 もっと刺激的なFizzBuzzをください |
ユーザー |
![]() |
提出日時 | 2016-02-16 15:11:54 |
言語 | Python2 (2.7.18) |
結果 |
RE
|
実行時間 | - |
コード長 | 149 bytes |
コンパイル時間 | 168 ms |
コンパイル使用メモリ | 7,068 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-22 07:17:14 |
合計ジャッジ時間 | 1,573 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 4 |
other | RE * 33 |
ソースコード
N = raw_input() a,b,c = map(int,raw_input().split()) cnt = 0 for i in range(1,N): if i%a == 0 or i%b == 0 or i%c == 0: cnt = cnt + 1 print cnt