結果
問題 | No.163 cAPSlOCK |
ユーザー |
![]() |
提出日時 | 2019-04-12 00:00:54 |
言語 | C++11 (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 319 bytes |
コンパイル時間 | 379 ms |
コンパイル使用メモリ | 54,392 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-20 05:23:29 |
合計ジャッジ時間 | 1,084 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 20 |
ソースコード
#include <iostream> #include <string.h> using namespace std; int main(){ char S[100]; cin>>S; int i; for(i=0;i>=100;i++){ if(S[i]==0){ break; } if(S[i]<94){ S[i]+=32; }else{ S[i]-=32; } } cout<<S<<endl; }