結果
| 問題 |
No.163 cAPSlOCK
|
| コンテスト | |
| ユーザー |
wing3196
|
| 提出日時 | 2015-03-12 23:22:34 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 415 bytes |
| コンパイル時間 | 574 ms |
| コンパイル使用メモリ | 73,156 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-24 20:00:09 |
| 合計ジャッジ時間 | 1,380 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
#include<iostream>
#include<cstdio>
#include<algorithm>
#include<vector>
#include<set>
#include<map>
#include<list>
#include<functional>
#include<cmath>
#include<climits>
#include<string>
#include<cstring>
using namespace std;
int main(){
string S;
cin>>S;
for(int i=0;i<S.size();i++){
if(islower(S[i])) printf("%c",toupper(S[i]));
else if(isupper(S[i])) printf("%c",tolower(S[i]));
}puts("");
return 0;
}
wing3196