結果
問題 |
No.99 ジャンピング駒
|
ユーザー |
![]() |
提出日時 | 2024-04-29 09:18:54 |
言語 | Nim (2.2.0) |
結果 |
AC
|
実行時間 | 18 ms / 5,000 ms |
コード長 | 187 bytes |
コンパイル時間 | 2,945 ms |
コンパイル使用メモリ | 66,540 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-18 11:35:20 |
合計ジャッジ時間 | 3,628 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 6 |
ソースコード
import math, strutils, sugar let _, x = readLine stdin ns = newSeq.collect: for s in x.split: case s[^1] of '0', '2', '4', '6', '8': 1 else: -1 echo abs sum ns