結果
| 問題 | No.816 Beautiful tuples |
| コンテスト | |
| ユーザー |
naru_1017
|
| 提出日時 | 2019-04-20 22:41:03 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 175 bytes |
| 記録 | |
| コンパイル時間 | 248 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-10-02 08:06:14 |
| 合計ジャッジ時間 | 1,196 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 15 |
ソースコード
a,b=map(int,input().split())
c=a+b
for i in range(int(c**0.5)+1):
if i!=a and i!=b and c%i==0:
if (a+i)%b==0 and (b+i)%a==0:
print(i)
break
naru_1017