結果
問題 |
No.312 置換処理
|
ユーザー |
![]() |
提出日時 | 2016-06-02 19:25:58 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 204 bytes |
コンパイル時間 | 492 ms |
コンパイル使用メモリ | 55,168 KB |
実行使用メモリ | 10,496 KB |
最終ジャッジ日時 | 2024-10-08 05:51:44 |
合計ジャッジ時間 | 4,037 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 TLE * 1 -- * 43 |
ソースコード
#include <iostream> #define ll long long using namespace std; int main(void) { ll N; cin >> N; int ans = 0; for(int i = 3; !ans; i++) { if(!(N%i)) ans = i; } cout << ans << endl; return 0; }