結果
問題 |
No.163 cAPSlOCK
|
ユーザー |
![]() |
提出日時 | 2015-04-12 20:06:40 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 146 bytes |
コンパイル時間 | 1,268 ms |
コンパイル使用メモリ | 158,172 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-04 14:04:34 |
合計ジャッジ時間 | 1,911 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 20 |
ソースコード
#include <bits/stdc++.h> int main(){int d='a'-'A';std::string s;std::cin>>s;for(auto e:s)std::cout<<(e<'a'?(e+d):(e-d));std::cout<<'\n';return 0;}