結果
問題 | No.418 ミンミンゼミ |
ユーザー |
👑 ![]() |
提出日時 | 2016-09-10 03:39:25 |
言語 | C90 (gcc 12.3.0) |
結果 |
RE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 55 bytes |
コンパイル時間 | 1,978 ms |
コンパイル使用メモリ | 33,792 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2025-01-29 01:58:44 |
合計ジャッジ時間 | 1,180 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 1 |
other | RE * 25 |
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class 1 | s;main(i){for(;i=~getchar();s-=i&1);s=printf("%d",~s);} | ^ main.c: In function 'main': main.c:1:39: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch] 1 | s;main(i){for(;i=~getchar();s-=i&1);s=printf("%d",~s);} | ^~~~~~ main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf' +++ |+#include <stdio.h> 1 | s;main(i){for(;i=~getchar();s-=i&1);s=printf("%d",~s);}
ソースコード
s;main(i){for(;i=~getchar();s-=i&1);s=printf("%d",~s);}