結果
問題 |
No.365 ジェンガソート
|
ユーザー |
![]() |
提出日時 | 2018-06-20 23:54:55 |
言語 | Nim (2.2.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 206 bytes |
コンパイル時間 | 3,194 ms |
コンパイル使用メモリ | 65,536 KB |
実行使用メモリ | 13,696 KB |
最終ジャッジ日時 | 2024-06-30 17:30:34 |
合計ジャッジ時間 | 7,098 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 WA * 6 TLE * 1 -- * 24 |
ソースコード
import strutils, sequtils let N = stdin.readLine.parseInt var a = stdin.readLine.split.map parseInt cnt = 0 while a.len != 0: let i = find(a, a.min) if i != 0: cnt += 1 a.delete i echo cnt