結果
| 問題 | No.163 cAPSlOCK |
| コンテスト | |
| ユーザー |
HIROPON87069639
|
| 提出日時 | 2016-02-14 17:08:59 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
AC
|
| 実行時間 | 51 ms / 5,000 ms |
| + 225µs | |
| コード長 | 315 bytes |
| 記録 | |
| コンパイル時間 | 57 ms |
| コンパイル使用メモリ | 81,708 KB |
| 実行使用メモリ | 81,504 KB |
| 最終ジャッジ日時 | 2026-07-18 02:54:12 |
| 合計ジャッジ時間 | 3,003 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
# -*- coding: utf-8 -*-
def ch(password):
N = len(password)
sep = list(password)
for i in range(0, N):
if sep[i].islower():
sep[i] = sep[i].upper()
elif sep[i].isupper():
sep[i] = sep[i].lower()
return "".join(sep)
password = raw_input()
print ch(password)
HIROPON87069639