結果
| 問題 | No.290 1010 |
| コンテスト | |
| ユーザー |
testestest
|
| 提出日時 | 2017-08-10 05:22:08 |
| 言語 | C90(gcc12) (gcc 12.4.0) |
| 結果 |
RE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 61 bytes |
| 記録 | |
| コンパイル時間 | 82 ms |
| コンパイル使用メモリ | 28,868 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2026-03-08 16:13:11 |
| 合計ジャッジ時間 | 769 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 24 |
コンパイルメッセージ
main.c: In function ‘main’:
main.c:1:9: warning: incompatible implicit declaration of built-in function ‘scanf’ [-Wbuiltin-declaration-mismatch]
1 | main(s){scanf("%*d%4s",&s);puts(s>>24|s%95%49%3?"YES":"NO");}
| ^~~~~
main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
+++ |+#include <stdio.h>
1 | main(s){scanf("%*d%4s",&s);puts(s>>24|s%95%49%3?"YES":"NO");}
main.c:1:21: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘int *’ [-Wformat=]
1 | main(s){scanf("%*d%4s",&s);puts(s>>24|s%95%49%3?"YES":"NO");}
| ~~^ ~~
| | |
| | int *
| char *
| %4ls
ソースコード
main(s){scanf("%*d%4s",&s);puts(s>>24|s%95%49%3?"YES":"NO");}
testestest