結果

問題 No.163 cAPSlOCK
ユーザー ただのガゼス(MonAgent)
提出日時 2023-12-27 00:49:41
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 346 bytes
コンパイル時間 1,725 ms
コンパイル使用メモリ 167,996 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-27 15:19:09
合計ジャッジ時間 2,605 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main()
{
    char password[200];
    cin >> password;
    for (int i = 0; password[i] != '\0'; ++i){
        if (65 <= password[i] && password[i] <= 90){
            password[i] += 32;
        }else{
            password[i] -= 32;
        }
    }

    cout << password << endl;
    return 0;
}

0