結果
問題 | No.163 cAPSlOCK |
ユーザー |
![]() |
提出日時 | 2017-10-09 08:25:40 |
言語 | Nim (2.2.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 172 bytes |
コンパイル時間 | 2,389 ms |
コンパイル使用メモリ | 65,460 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-30 03:16:20 |
合計ジャッジ時間 | 3,186 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
コンパイルメッセージ
/home/judge/data/code/Main.nim(1, 8) Warning: imported and not used: 'sequtils' [UnusedImport]
ソースコード
import sequtils,strutils var s = stdin.readline for i,c in s: if c.isLowerAscii: s[i] = s[i].toUpperAscii else: s[i] = s[i].toLowerAscii echo s