結果
| 問題 |
No.163 cAPSlOCK
|
| コンテスト | |
| ユーザー |
HIROPON87069639
|
| 提出日時 | 2016-02-14 17:08:59 |
| 言語 | Python2 (2.7.18) |
| 結果 |
AC
|
| 実行時間 | 12 ms / 5,000 ms |
| コード長 | 315 bytes |
| コンパイル時間 | 50 ms |
| コンパイル使用メモリ | 7,040 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-22 06:31:16 |
| 合計ジャッジ時間 | 1,046 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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