結果
| 問題 |
No.2781 A%B問題
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-06-14 21:28:43 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 188 bytes |
| コンパイル時間 | 170 ms |
| コンパイル使用メモリ | 81,792 KB |
| 実行使用メモリ | 57,472 KB |
| 最終ジャッジ日時 | 2024-06-14 21:28:45 |
| 合計ジャッジ時間 | 1,659 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 WA * 7 |
ソースコード
A,B=list(map(int,input().split()))
for q in range(-int(1e2), int(1e2)+1):
if q==0:continue
for r in range(abs(B)+1):
if A==B*q+r:
print(r)
exit(0)