結果
| 問題 | No.163 cAPSlOCK |
| コンテスト | |
| ユーザー |
meshedgear
|
| 提出日時 | 2015-03-15 11:20:39 |
| 言語 | C90(gcc12) (gcc 12.4.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 214 bytes |
| 記録 | |
| コンパイル時間 | 131 ms |
| コンパイル使用メモリ | 28,612 KB |
| 最終ジャッジ日時 | 2026-02-23 18:12:07 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 20 |
ソースコード
#include <stdio.h>
#include <string.h>
int main(void) {
char c;
while(scanf("%c", &c) != EOF){
if(c >= 'a' && c <= 'z') printf("%c\n", c + ('A' - 'a'));
else printf("%c\n", c + ('a' - 'A'));
}
return 0;
}
meshedgear