結果
| 問題 |
No.163 cAPSlOCK
|
| コンテスト | |
| ユーザー |
siguma323
|
| 提出日時 | 2016-05-24 17:52:01 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 580 bytes |
| コンパイル時間 | 955 ms |
| コンパイル使用メモリ | 96,836 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-11 05:08:24 |
| 合計ジャッジ時間 | 1,545 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
#include <vector>
#include <string>
#include <algorithm>
#include <numeric>
#include <iostream>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <utility>
#include <list>
#include <functional>
#include <queue>
#include <map>
#include <iterator>
#include <iomanip>
#include <complex>
#include <cctype>
using namespace std;
using ull = unsigned long long;
using ll = long long;
int main()
{
string s;
cin >> s;
for(auto&& x : s)
{
if(isupper(x))
{
x = tolower(x);
}
else
{
x = toupper(x);
}
}
cout << s << endl;
}
siguma323