結果
| 問題 |
No.163 cAPSlOCK
|
| コンテスト | |
| ユーザー |
adio_parts
|
| 提出日時 | 2017-06-03 17:21:21 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 351 bytes |
| コンパイル時間 | 393 ms |
| コンパイル使用メモリ | 55,824 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-22 04:36:48 |
| 合計ジャッジ時間 | 1,203 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 20 |
ソースコード
#include <iostream>
#include <string.h>
using namespace std;
int main() {
char a[] = "";
cin >> a;
for(int i = 0; i < strlen(a); i++){
if(a[i] < 'a'){
a[i] += 0x20;
cout << a[i];
}
else{
a[i] -= 0x20;
cout << a[i];
}
}
cout << "\n";
return 0;
}
adio_parts