結果
| 問題 | No.163 cAPSlOCK |
| コンテスト | |
| ユーザー |
leaf+
|
| 提出日時 | 2019-04-14 11:28:10 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 263 bytes |
| 記録 | |
| コンパイル時間 | 328 ms |
| コンパイル使用メモリ | 71,276 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-04-06 06:45:16 |
| 合計ジャッジ時間 | 1,015 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
#include <iostream>
#include <string>
using namespace std;
int main() {
string b, s;
int i;
cin >> s;
for (i = 0; i < s.length(); i++) {
if (s[i] < 91) {b += s[i] + 32;}
else {b += s[i] - 32;}
}
cout << b << endl;
return 0;
}
leaf+