結果
| 問題 | No.163 cAPSlOCK |
| コンテスト | |
| ユーザー |
ldsyb
|
| 提出日時 | 2016-02-28 12:01:46 |
| 言語 | C++11 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 5,000 ms |
| + 347µs | |
| コード長 | 211 bytes |
| 記録 | |
| コンパイル時間 | 266 ms |
| コンパイル使用メモリ | 70,596 KB |
| 実行使用メモリ | 9,796 KB |
| 最終ジャッジ日時 | 2026-09-03 05:57:20 |
| 合計ジャッジ時間 | 1,544 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
#include <iostream>
#include <string>
using namespace std;
int main(){
string s;
cin >> s;
for(int i = 0;i < s.size();i++) s[i] = isupper(s[i]) ? tolower(s[i]) : toupper(s[i]);
cout << s << endl;
}
ldsyb