結果

問題 No.113 宝探し
ユーザー 👑 testestest
提出日時 2016-03-04 15:47:17
言語 C90
(gcc 12.3.0)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 84 bytes
コンパイル時間 424 ms
コンパイル使用メモリ 36,352 KB
実行使用メモリ 7,848 KB
最終ジャッジ日時 2025-04-24 04:02:01
合計ジャッジ時間 1,705 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 4
other AC * 1 WA * 22
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class
    1 | a[];main(x){for(;x=~getchar(a[x&8]+=x/11*2+1)%69;);*a=!printf("%f",hypot(*a,a[8]));}
      | ^
main.c: In function 'main':
main.c:1:56: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    1 | a[];main(x){for(;x=~getchar(a[x&8]+=x/11*2+1)%69;);*a=!printf("%f",hypot(*a,a[8]));}
      |                                                        ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | a[];main(x){for(;x=~getchar(a[x&8]+=x/11*2+1)%69;);*a=!printf("%f",hypot(*a,a[8]));}
main.c: At top level:
main.c:1:1: warning: array 'a' assumed to have one element

ソースコード

diff #

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