結果
問題 |
No.163 cAPSlOCK
|
ユーザー |
👑 ![]() |
提出日時 | 2015-08-08 01:05:28 |
言語 | C90 (gcc 12.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 5,000 ms |
コード長 | 49 bytes |
コンパイル時間 | 181 ms |
コンパイル使用メモリ | 18,816 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-18 05:31:29 |
合計ジャッジ時間 | 969 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
コンパイルメッセージ
main.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1 | main(a){for(;read(0,&a,1);putchar(a-10?a^32:a));} | ^~~~ main.c: In function ‘main’: main.c:1:1: warning: type of ‘a’ defaults to ‘int’ [-Wimplicit-int] main.c:1:14: warning: implicit declaration of function ‘read’ [-Wimplicit-function-declaration] 1 | main(a){for(;read(0,&a,1);putchar(a-10?a^32:a));} | ^~~~ main.c:1:27: warning: implicit declaration of function ‘putchar’ [-Wimplicit-function-declaration] 1 | main(a){for(;read(0,&a,1);putchar(a-10?a^32:a));} | ^~~~~~~ main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘putchar’ +++ |+#include <stdio.h> 1 | main(a){for(;read(0,&a,1);putchar(a-10?a^32:a));}
ソースコード
main(a){for(;read(0,&a,1);putchar(a-10?a^32:a));}