結果

問題 No.163 cAPSlOCK
ユーザー kaffelun
提出日時 2018-06-01 23:03:41
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 308 bytes
コンパイル時間 1,215 ms
コンパイル使用メモリ 159,532 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-30 08:58:38
合計ジャッジ時間 2,030 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
int main() {
    #ifdef DEBUG
    std::ifstream in("/home/share/inputf.in");
    std::cin.rdbuf(in.rdbuf());
    #endif
    string S;
    cin >> S;
    for(int i = 0; i < S.length(); i++) {
        S[i] = S[i] ^ 0x20;
    }
    cout << S << endl;
    return 0;
}
0