結果
| 問題 | No.676 C0nvertPr0b1em |
| コンテスト | |
| ユーザー |
testestest
|
| 提出日時 | 2018-05-14 04:05:10 |
| 言語 | C(gnu17) (gcc 15.2.0) |
| 結果 |
CE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 58 bytes |
| 記録 | |
| コンパイル時間 | 109 ms |
| コンパイル使用メモリ | 25,048 KB |
| 最終ジャッジ日時 | 2026-02-22 01:08:23 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge2 |
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
コンパイルメッセージ
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int]
1 | main(c){for(;c=~getchar();)putchar(c%35+4?c%16?~c:48:49);}
| ^~~~
main.c: In function 'main':
main.c:1:1: warning: old-style function definition [-Wold-style-definition]
main.c:1:1: error: type of 'c' defaults to 'int' [-Wimplicit-int]
main.c:1:17: error: implicit declaration of function 'getchar' [-Wimplicit-function-declaration]
1 | main(c){for(;c=~getchar();)putchar(c%35+4?c%16?~c:48:49);}
| ^~~~~~~
main.c:1:1: note: 'getchar' is defined in header '<stdio.h>'; this is probably fixable by adding '#include <stdio.h>'
+++ |+#include <stdio.h>
1 | main(c){for(;c=~getchar();)putchar(c%35+4?c%16?~c:48:49);}
main.c:1:28: error: implicit declaration of function 'putchar' [-Wimplicit-function-declaration]
1 | main(c){for(;c=~getchar();)putchar(c%35+4?c%16?~c:48:49);}
| ^~~~~~~
main.c:1:28: note: include '<stdio.h>' or provide a declaration of 'putchar'
ソースコード
main(c){for(;c=~getchar();)putchar(c%35+4?c%16?~c:48:49);}
testestest