結果
| 問題 | No.316 もっと刺激的なFizzBuzzをください |
| コンテスト | |
| ユーザー |
hir355
|
| 提出日時 | 2020-01-22 21:19:23 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 138 bytes |
| 記録 | |
| コンパイル時間 | 239 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2024-07-16 01:56:57 |
| 合計ジャッジ時間 | 2,462 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 4 |
| other | AC * 3 WA * 30 |
ソースコード
from math import gcd n=int(input()) a,b,c=map(int,input().split()) print(n//a+n//b+n//c-n//gcd(a,b)-n//gcd(a,c)-n//gcd(b,c)+n//gcd(a,b,c))
hir355