結果
| 問題 | No.163 cAPSlOCK |
| コンテスト | |
| ユーザー |
ryogom
|
| 提出日時 | 2019-04-11 23:54:09 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 337 bytes |
| 記録 | |
| コンパイル時間 | 290 ms |
| コンパイル使用メモリ | 71,148 KB |
| 実行使用メモリ | 79,116 KB |
| 最終ジャッジ日時 | 2026-04-02 20:55:49 |
| 合計ジャッジ時間 | 924 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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]+=31;
}else{
pass[i]-=31;
}
}
cout<<pass[i];
}
ryogom