結果
| 問題 | No.312 置換処理 |
| コンテスト | |
| ユーザー |
takatowin
|
| 提出日時 | 2017-01-11 00:41:58 |
| 言語 | C90 (gcc 15.2.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 204 bytes |
| 記録 | |
| コンパイル時間 | 115 ms |
| コンパイル使用メモリ | 37,528 KB |
| 最終ジャッジ日時 | 2026-02-24 00:05:38 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 TLE * 1 -- * 43 |
ソースコード
#include<stdio.h>
#include<math.h>
int main(void){
double temp,i;
scanf("%lf",&temp);
for(i=3;i<=temp;i+=1){
if(fmod(temp,i)==0){
printf("%.lf\n",i);
break;
}
}
return 0;
}
takatowin