結果
| 問題 | No.163 cAPSlOCK | 
| コンテスト | |
| ユーザー | 👑  testestest | 
| 提出日時 | 2015-08-08 01:03:36 | 
| 言語 | C90 (gcc 12.3.0) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 51 bytes | 
| コンパイル時間 | 119 ms | 
| コンパイル使用メモリ | 19,456 KB | 
| 実行使用メモリ | 6,948 KB | 
| 最終ジャッジ日時 | 2024-07-18 05:31:17 | 
| 合計ジャッジ時間 | 794 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | WA * 3 | 
| other | WA * 20 | 
コンパイルメッセージ
main.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
    1 | main(a){for(;read(0,&a,1);putchar(a+11?~a^32:10));}
      | ^~~~
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+11?~a^32:10));}
      |              ^~~~
main.c:1:27: warning: implicit declaration of function ‘putchar’ [-Wimplicit-function-declaration]
    1 | main(a){for(;read(0,&a,1);putchar(a+11?~a^32:10));}
      |                           ^~~~~~~
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+11?~a^32:10));}
            
            ソースコード
main(a){for(;read(0,&a,1);putchar(a+11?~a^32:10));}
            
            
            
        