結果
| 問題 | No.163 cAPSlOCK |
| コンテスト | |
| ユーザー |
cande398
|
| 提出日時 | 2018-03-10 00:28:07 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 238 bytes |
| コンパイル時間 | 739 ms |
| コンパイル使用メモリ | 55,160 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-10 22:49:23 |
| 合計ジャッジ時間 | 1,438 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
#include <iostream>
#include <string>
using namespace std;
int main(void)
{
string str;
cin >> str;
for(auto c: str) {
if(c >= 'a' && c <= 'z') {
cout << char(c - 32);
}
else {
cout << char(c + 32);
}
}
cout << endl;
}
cande398