結果
| 問題 | No.414 衝動 |
| コンテスト | |
| ユーザー |
StarMatyan
|
| 提出日時 | 2020-10-22 17:24:37 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 341 bytes |
| 記録 | |
| コンパイル時間 | 364 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 16,128 KB |
| 最終ジャッジ日時 | 2024-07-21 09:24:25 |
| 合計ジャッジ時間 | 4,207 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 5 TLE * 1 -- * 7 |
ソースコード
first_num =int(input()) tmp_num =first_num count = 1 dist=0 result=0 while(tmp_num >= 1 and count <=first_num): if tmp_num%count ==0: tmp_num=int(first_num/count) dist=dist+1 if dist > 1 and tmp_num > 1: result= tmp_num + " " + count; elif tmp_num == 1 and dist ==2: result= 1 + " " + first_num; count=count+1 print(result)
StarMatyan