結果
| 問題 |
No.163 cAPSlOCK
|
| コンテスト | |
| ユーザー |
mesh1nek0x0
|
| 提出日時 | 2018-09-07 09:21:01 |
| 言語 | Go (1.23.4) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 5,000 ms |
| コード長 | 286 bytes |
| コンパイル時間 | 10,943 ms |
| コンパイル使用メモリ | 230,380 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-25 21:42:18 |
| 合計ジャッジ時間 | 11,708 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
package main
import (
"fmt"
"strings"
)
func main() {
var S string
fmt.Scan(&S)
for _, c := range S {
tmp := string(c)
if (c >= 65 && c <= 90) {
fmt.Print(strings.ToLower(tmp))
} else {
fmt.Print(strings.ToUpper(tmp))
}
}
fmt.Println("")
}
mesh1nek0x0