結果

問題 No.163 cAPSlOCK
コンテスト
ユーザー ただのガゼス(MonAgent)
提出日時 2023-12-27 00:49:41
言語 C++14
(gcc 15.3.0 + boost 1.92.0 + ACL)
コンパイル:
g++-15 -O2 -lm -std=c++14 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_
実行:
./a.out
結果
AC  
実行時間 1 ms / 5,000 ms
+ 338µs
コード長 346 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 925 ms
コンパイル使用メモリ 179,672 KB
実行使用メモリ 6,272 KB
最終ジャッジ日時 2026-09-05 07:08:04
合計ジャッジ時間 2,456 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge3_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#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