結果
| 問題 | No.163 cAPSlOCK |
| コンテスト | |
| ユーザー |
oz4point5
|
| 提出日時 | 2019-03-24 23:25:35 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 27 ms / 5,000 ms |
| コード長 | 211 bytes |
| コンパイル時間 | 131 ms |
| コンパイル使用メモリ | 12,800 KB |
| 実行使用メモリ | 10,496 KB |
| 最終ジャッジ日時 | 2024-10-04 19:49:38 |
| 合計ジャッジ時間 | 1,382 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
# -*- coding: utf-8 -*-
s = list(input())
for index, item in enumerate(s):
if s[index].isupper():
s[index] = s[index].lower()
else:
s[index] = s[index].upper()
s = "".join(s)
print(s)
oz4point5