結果
| 問題 | No.784 「,(カンマ)」 |
| コンテスト | |
| ユーザー |
6soukiti29
|
| 提出日時 | 2019-02-08 22:21:25 |
| 言語 | Nim (2.2.8) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 166 bytes |
| 記録 | |
| コンパイル時間 | 1,997 ms |
| コンパイル使用メモリ | 68,280 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2026-03-22 11:39:12 |
| 合計ジャッジ時間 | 2,517 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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