結果
| 問題 |
No.784 「,(カンマ)」
|
| コンテスト | |
| ユーザー |
6soukiti29
|
| 提出日時 | 2019-02-08 22:21:25 |
| 言語 | Nim (2.2.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 166 bytes |
| コンパイル時間 | 2,943 ms |
| コンパイル使用メモリ | 66,980 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-07-01 11:35:36 |
| 合計ジャッジ時間 | 3,448 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 10 |
コンパイルメッセージ
/home/judge/data/code/Main.nim(1, 8) Warning: imported and not used: 'sequtils' [UnusedImport] /home/judge/data/code/Main.nim(1, 17) Warning: imported and not used: 'strutils' [UnusedImport]
ソースコード
import sequtils,strutils
var
N = stdin.readline
s = ""
for i in 1..N.high:
s = N[^i] & s
if i mod 3 == 0 and i != N.high:
s = "," & s
echo(s)
6soukiti29