結果
| 問題 | No.163 cAPSlOCK |
| コンテスト | |
| ユーザー |
cleasky
|
| 提出日時 | 2024-02-05 01:21:37 |
| 言語 | C++23 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 5,000 ms |
| + 304µs | |
| コード長 | 327 bytes |
| 記録 | |
| コンパイル時間 | 1,957 ms |
| コンパイル使用メモリ | 330,140 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2026-09-05 15:55:46 |
| 合計ジャッジ時間 | 3,662 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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