結果
| 問題 | No.163 cAPSlOCK |
| コンテスト | |
| ユーザー |
muuyuum
|
| 提出日時 | 2016-07-10 15:16:42 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 80 ms / 5,000 ms |
| コード長 | 179 bytes |
| コンパイル時間 | 144 ms |
| コンパイル使用メモリ | 77,196 KB |
| 最終ジャッジ日時 | 2025-12-03 21:00:56 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
s = raw_input()
l = []
for x in s:
if ord(x) < 97:
x = chr(ord(x) +32)
l.append(x)
else:
x = chr(ord(x) - 32)
l.append(x)
print "".join(l)
muuyuum