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