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