結果
| 問題 | No.8000 enuemu暗号 |
| コンテスト | |
| ユーザー |
testestest
|
| 提出日時 | 2015-08-09 18:44:52 |
| 言語 | C90 (gcc 12.3.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 5,000 ms |
| コード長 | 82 bytes |
| 記録 | |
| コンパイル時間 | 67 ms |
| コンパイル使用メモリ | 19,456 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-18 06:13:15 |
| 合計ジャッジ時間 | 446 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 1 |
コンパイルメッセージ
main.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
1 | main(x){for(;x=getchar()-10;putchar("cqlmdrstfxyzbanopuvweghijk"[x-87]));exit(0);}
| ^~~~
main.c: In function ‘main’:
main.c:1:1: warning: type of ‘x’ defaults to ‘int’ [-Wimplicit-int]
main.c:1:16: warning: implicit declaration of function ‘getchar’ [-Wimplicit-function-declaration]
1 | main(x){for(;x=getchar()-10;putchar("cqlmdrstfxyzbanopuvweghijk"[x-87]));exit(0);}
| ^~~~~~~
main.c:1:1: note: ‘getchar’ is defined in header ‘<stdio.h>’; did you forget to ‘#include <stdio.h>’?
+++ |+#include <stdio.h>
1 | main(x){for(;x=getchar()-10;putchar("cqlmdrstfxyzbanopuvweghijk"[x-87]));exit(0);}
main.c:1:29: warning: implicit declaration of function ‘putchar’ [-Wimplicit-function-declaration]
1 | main(x){for(;x=getchar()-10;putchar("cqlmdrstfxyzbanopuvweghijk"[x-87]));exit(0);}
| ^~~~~~~
main.c:1:29: note: include ‘<stdio.h>’ or provide a declaration of ‘putchar’
main.c:1:74: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration]
1 | main(x){for(;x=getchar()-10;putchar("cqlmdrstfxyzbanopuvweghijk"[x-87]));exit(0);}
| ^~~~
main.c:1:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
+++ |+#include <stdlib.h>
1 | main(x){for(;x=getchar()-10;putchar("cqlmdrstfxyzbanopuvweghijk"[x-87]));exit(0);}
main.c:1:74: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
1 | main(x){for(;x=getchar()-10;putchar("cqlmdrstfxyzbanopuvweghijk"[x-87]));exit(0);}
| ^~~~
main.c:1:74: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
ソースコード
main(x){for(;x=getchar()-10;putchar("cqlmdrstfxyzbanopuvweghijk"[x-87]));exit(0);}
testestest