結果
問題 | No.163 cAPSlOCK |
ユーザー |
![]() |
提出日時 | 2015-03-15 11:22:13 |
言語 | C90 (gcc 12.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 5,000 ms |
コード長 | 233 bytes |
コンパイル時間 | 542 ms |
コンパイル使用メモリ | 19,968 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-28 22:54:02 |
合計ジャッジ時間 | 774 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
#include <stdio.h>#include <string.h>int main(void) {char c;while(scanf("%c", &c) != EOF){if(c == '\n') break;if(c >= 'a' && c <= 'z') printf("%c", c + ('A' - 'a'));else printf("%c", c + ('a' - 'A'));}return 0;}