結果

問題 No.494 yukicoder
ユーザー testestesttestestest
提出日時 2017-06-14 03:04:36
言語 C
(gcc 12.3.0)
結果
WA  
実行時間 -
コード長 53 bytes
コンパイル時間 1,369 ms
コンパイル使用メモリ 27,448 KB
実行使用メモリ 4,372 KB
最終ジャッジ日時 2023-10-24 21:58:20
合計ジャッジ時間 2,572 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class
    1 | s;main(x){for(;x=~getchar(s+=x););putchar(122+s%26);}
      | ^
main.c:1:1: warning: type defaults to 'int' in declaration of 's' [-Wimplicit-int]
main.c:1:3: warning: return type defaults to 'int' [-Wimplicit-int]
    1 | s;main(x){for(;x=~getchar(s+=x););putchar(122+s%26);}
      |   ^~~~
main.c: In function 'main':
main.c:1:3: warning: type of 'x' defaults to 'int' [-Wimplicit-int]
main.c:1:19: warning: implicit declaration of function 'getchar' [-Wimplicit-function-declaration]
    1 | s;main(x){for(;x=~getchar(s+=x););putchar(122+s%26);}
      |                   ^~~~~~~
main.c:1:1: note: 'getchar' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'?
  +++ |+#include <stdio.h>
    1 | s;main(x){for(;x=~getchar(s+=x););putchar(122+s%26);}
main.c:1:35: warning: implicit declaration of function 'putchar' [-Wimplicit-function-declaration]
    1 | s;main(x){for(;x=~getchar(s+=x););putchar(122+s%26);}
      |                                   ^~~~~~~
main.c:1:35: note: include '<stdio.h>' or provide a declaration of 'putchar'

ソースコード

diff #

s;main(x){for(;x=~getchar(s+=x););putchar(122+s%26);}
0