結果
| 問題 |
No.141 魔法少女コバ
|
| コンテスト | |
| ユーザー |
matsu7874
|
| 提出日時 | 2015-11-29 18:29:57 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 171 bytes |
| コンパイル時間 | 88 ms |
| コンパイル使用メモリ | 12,288 KB |
| 実行使用メモリ | 17,312 KB |
| 最終ジャッジ日時 | 2024-09-14 05:10:29 |
| 合計ジャッジ時間 | 7,068 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 TLE * 1 -- * 91 |
ソースコード
m,n = map(int, input().split())
cnt = 0
while True:
if m<n:
m,n = n,m
elif m == n:
print(cnt)
exit()
else:
m -= n
cnt += 1
matsu7874