結果
問題 | No.312 置換処理 |
ユーザー |
![]() |
提出日時 | 2021-09-09 21:36:18 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 277 bytes |
コンパイル時間 | 1,417 ms |
コンパイル使用メモリ | 28,032 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-12-31 08:44:00 |
合計ジャッジ時間 | 2,146 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 32 WA * 13 |
ソースコード
#include <stdio.h>#include <string.h>int main(void) {long long i, n;scanf("%lld", &n);for (i = 3; i * i <= n; ++i) {if (n % i == 0) {printf("%lld\n", i);return (0);}}printf("%d\n", 3);return (0);}