結果
| 問題 |
No.163 cAPSlOCK
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-05-04 21:50:31 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 177 bytes |
| コンパイル時間 | 343 ms |
| コンパイル使用メモリ | 54,720 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-05 19:01:06 |
| 合計ジャッジ時間 | 1,053 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
#include <string>
#include <iostream>
using namespace std;
int main(){
string s;cin>>s;
for(int i=0;i<s.length();++i){
if(s[i]<='Z')s[i]+=32;
else s[i]-=32;
}
cout<<s<<endl;
}