結果
| 問題 | No.1256 連続整数列 |
| コンテスト | |
| ユーザー |
k82b
|
| 提出日時 | 2023-12-24 22:02:34 |
| 言語 | C90(gcc12) (gcc 12.4.0) |
| 結果 |
RE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 45 bytes |
| 記録 | |
| コンパイル時間 | 117 ms |
| コンパイル使用メモリ | 27,976 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2026-03-08 16:36:12 |
| 合計ジャッジ時間 | 1,261 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 40 |
コンパイルメッセージ
main.c: In function ‘main’:
main.c:1:9: warning: incompatible implicit declaration of built-in function ‘scanf’ [-Wbuiltin-declaration-mismatch]
1 | main(a){scanf("%d",&a);puts(a^1?"YES":"NO");}
| ^~~~~
main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
+++ |+#include <stdio.h>
1 | main(a){scanf("%d",&a);puts(a^1?"YES":"NO");}
ソースコード
main(a){scanf("%d",&a);puts(a^1?"YES":"NO");}
k82b