結果
問題 |
No.894 二種類のバス
|
ユーザー |
![]() |
提出日時 | 2019-10-04 09:39:19 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 219 bytes |
コンパイル時間 | 96 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 24,392 KB |
最終ジャッジ日時 | 2024-10-03 06:47:56 |
合計ジャッジ時間 | 4,482 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | -- * 3 |
other | TLE * 1 -- * 16 |
ソースコード
a=list(map(int,input().split())) abus=False count=0 for i in range(a[0]): if (a[0]/a[1])%1==0: count+=1 abus=True if (a[0]/a[2])%1==0 and abus==False: count+=1 abus=False print(count)