結果
| 問題 | No.163 cAPSlOCK |
| コンテスト | |
| ユーザー |
meshedgear
|
| 提出日時 | 2015-03-15 11:20:39 |
| 言語 | C90 (gcc 12.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 214 bytes |
| コンパイル時間 | 90 ms |
| コンパイル使用メモリ | 20,352 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-28 22:53:57 |
| 合計ジャッジ時間 | 833 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / 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