結果
問題 |
No.312 置換処理
|
ユーザー |
![]() |
提出日時 | 2016-04-03 01:02:47 |
言語 | C90 (gcc 12.3.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 172 bytes |
コンパイル時間 | 125 ms |
コンパイル使用メモリ | 20,480 KB |
実行使用メモリ | 10,496 KB |
最終ジャッジ日時 | 2024-10-02 12:32:05 |
合計ジャッジ時間 | 3,567 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 TLE * 1 -- * 43 |
コンパイルメッセージ
main.c: In function ‘main’: main.c:5:3: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5 | scanf("%lld",&n); | ^~~~~~~~~~~~~~~~
ソースコード
#include <stdio.h> int main(){ long long int n; long long int i; scanf("%lld",&n); for(i=3;i<n;i++){ if(n%i==0)break; } printf("%lld\n",i); return 0; }