結果

問題 No.113 宝探し
ユーザー testestesttestestest
提出日時 2016-04-22 19:59:33
言語 C90
(gcc 11.4.0)
結果
CE  
(最新)
AC  
(最初)
実行時間 -
コード長 83 bytes
コンパイル時間 122 ms
コンパイル使用メモリ 20,864 KB
最終ジャッジ日時 2024-04-28 07:39:47
合計ジャッジ時間 492 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。

コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class
    1 | a[],x;main(){for(;x=~getchar(a[x&8]+=x/11*2+1)%69?:!printf("%f",hypot(*a,a[8])););}
      | ^
main.c:1:1: warning: type defaults to ‘int’ in declaration of ‘a’ [-Wimplicit-int]
main.c:1:5: warning: type defaults to ‘int’ in declaration of ‘x’ [-Wimplicit-int]
    1 | a[],x;main(){for(;x=~getchar(a[x&8]+=x/11*2+1)%69?:!printf("%f",hypot(*a,a[8])););}
      |     ^
main.c:1:7: warning: return type defaults to ‘int’ [-Wimplicit-int]
    1 | a[],x;main(){for(;x=~getchar(a[x&8]+=x/11*2+1)%69?:!printf("%f",hypot(*a,a[8])););}
      |       ^~~~
main.c: In function ‘main’:
main.c:1:22: warning: implicit declaration of function ‘getchar’ [-Wimplicit-function-declaration]
    1 | a[],x;main(){for(;x=~getchar(a[x&8]+=x/11*2+1)%69?:!printf("%f",hypot(*a,a[8])););}
      |                      ^~~~~~~
main.c:1:1: note: ‘getchar’ is defined in header ‘<stdio.h>’; did you forget to ‘#include <stdio.h>’?
  +++ |+#include <stdio.h>
    1 | a[],x;main(){for(;x=~getchar(a[x&8]+=x/11*2+1)%69?:!printf("%f",hypot(*a,a[8])););}
main.c:1:53: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
    1 | a[],x;main(){for(;x=~getchar(a[x&8]+=x/11*2+1)%69?:!printf("%f",hypot(*a,a[8])););}
      |                                                     ^~~~~~
main.c:1:53: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
main.c:1:53: warning: incompatible implicit declaration of built-in function ‘printf’ [-Wbuiltin-declaration-mismatch]
main.c:1:53: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
main.c:1:65: warning: implicit declaration of function ‘hypot’ [-Wimplicit-function-declaration]
    1 | a[],x;main(){for(;x=~getchar(a[x&8]+=x/11*2+1)%69?:!printf("%f",hypot(*a,a[8])););}
      |                                                                 ^~~~~
main.c:1:1: note: include ‘<math.h>’ 

ソースコード

diff #

a[],x;main(){for(;x=~getchar(a[x&8]+=x/11*2+1)%69?:!printf("%f",hypot(*a,a[8])););}
0