結果
| 問題 |
No.163 cAPSlOCK
|
| コンテスト | |
| ユーザー |
ryogom
|
| 提出日時 | 2019-04-11 23:53:43 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 337 bytes |
| コンパイル時間 | 488 ms |
| コンパイル使用メモリ | 54,360 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-07-20 05:19:08 |
| 合計ジャッジ時間 | 1,286 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 20 |
ソースコード
#include <iostream>
#include <string.h>
using namespace std;
int main(){
char pass[100];
cin>>pass;
int i;
for(i=0;i>=100;i++){
if(pass[i]==0){
break;
}
if(pass[i]<94){
pass[i]+=32;
}else{
pass[i]-=32;
}
}
cout<<pass[i];
}
ryogom