結果
問題 |
No.546 オンリー・ワン
|
ユーザー |
![]() |
提出日時 | 2017-10-18 16:01:36 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 249 bytes |
コンパイル時間 | 355 ms |
コンパイル使用メモリ | 82,268 KB |
実行使用メモリ | 134,192 KB |
最終ジャッジ日時 | 2024-11-18 14:33:02 |
合計ジャッジ時間 | 19,058 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 TLE * 1 |
other | AC * 2 TLE * 5 |
ソースコード
N,L,H = list(map(int, input().split(' '))) ns = list(map(int, input().split(' '))) solution = 0 for i in range(L, H+1): yes = 0 for n in ns: if i % n == 0: yes += 1 if yes == 1: solution += 1 print(solution)