結果
| 問題 |
No.312 置換処理
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-06-20 15:20:22 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 343 bytes |
| コンパイル時間 | 760 ms |
| コンパイル使用メモリ | 77,044 KB |
| 実行使用メモリ | 10,920 KB |
| 最終ジャッジ日時 | 2025-06-20 15:20:27 |
| 合計ジャッジ時間 | 4,507 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 TLE * 1 -- * 43 |
ソースコード
#include <iostream>
#include <stdio.h>
#include <vector>
#include <map>
#include <algorithm>
using namespace std;
int main(){
long long int i = 3;
long long int k;
long long int mod;
cin >> k;
for(; i < k ; i++){
mod = k % i;
if(mod == 0){
break;
}
}
cout << i << endl;
}