結果

問題 No.163 cAPSlOCK
ユーザー yuki2006yuki2006
提出日時 2015-03-09 23:42:07
言語 PyPy2
(7.3.15)
結果
AC  
実行時間 77 ms / 5,000 ms
コード長 126 bytes
コンパイル時間 1,561 ms
コンパイル使用メモリ 77,740 KB
実行使用メモリ 76,624 KB
最終ジャッジ日時 2023-09-06 22:53:06
合計ジャッジ時間 4,845 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
76,624 KB
testcase_01 AC 73 ms
76,364 KB
testcase_02 AC 73 ms
76,304 KB
testcase_03 AC 74 ms
76,152 KB
testcase_04 AC 74 ms
76,284 KB
testcase_05 AC 72 ms
76,144 KB
testcase_06 AC 73 ms
76,308 KB
testcase_07 AC 72 ms
76,104 KB
testcase_08 AC 72 ms
76,432 KB
testcase_09 AC 72 ms
76,344 KB
testcase_10 AC 74 ms
76,148 KB
testcase_11 AC 73 ms
76,144 KB
testcase_12 AC 75 ms
76,184 KB
testcase_13 AC 75 ms
76,292 KB
testcase_14 AC 73 ms
76,144 KB
testcase_15 AC 74 ms
76,408 KB
testcase_16 AC 72 ms
76,624 KB
testcase_17 AC 75 ms
76,284 KB
testcase_18 AC 74 ms
76,348 KB
testcase_19 AC 74 ms
76,456 KB
testcase_20 AC 73 ms
76,432 KB
testcase_21 AC 74 ms
76,088 KB
testcase_22 AC 77 ms
76,352 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# -*- coding: utf-8 -*-

def toggle_case(x):
    return chr(ord(x) ^ 32)


S = raw_input()

print "".join(map(toggle_case, S))
0