結果
問題 | No.289 数字を全て足そう |
ユーザー |
|
提出日時 | 2019-04-14 00:20:06 |
言語 | Nim (2.2.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 118 bytes |
コンパイル時間 | 3,086 ms |
コンパイル使用メモリ | 65,032 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-01 23:05:46 |
合計ジャッジ時間 | 3,708 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | AC * 1 WA * 20 |
コンパイルメッセージ
/home/judge/data/code/Main.nim(1, 8) Warning: imported and not used: 'sequtils' [UnusedImport]
ソースコード
import sequtils, strutils let s = stdin.readLine var ans = 0 for c in s: if c.isDigit: ans.inc(c.int) echo ans