結果
| 問題 | No.163 cAPSlOCK |
| コンテスト | |
| ユーザー |
cleasky
|
| 提出日時 | 2024-02-05 01:21:37 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 327 bytes |
| コンパイル時間 | 2,888 ms |
| コンパイル使用メモリ | 243,616 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-28 11:29:50 |
| 合計ジャッジ時間 | 3,402 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main()
{
cin.tie(0)->sync_with_stdio(0);
string S;
cin >> S;
for (char c : S) {
char ans;
if (isupper(c)) {
ans = tolower(c);
} else {
ans = toupper(c);
}
cout << ans;
}
cout << endl;
}
cleasky