結果

問題 No.365 ジェンガソート
ユーザー toshiro_yanagitoshiro_yanagi
提出日時 2018-06-21 00:49:56
言語 Nim
(2.2.0)
結果
WA  
実行時間 -
コード長 199 bytes
コンパイル時間 3,166 ms
コンパイル使用メモリ 66,192 KB
実行使用メモリ 15,392 KB
最終ジャッジ日時 2024-06-30 17:32:07
合計ジャッジ時間 9,642 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 7 WA * 9 TLE * 2 -- * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

import strutils, sequtils

var
  N, a = stdin.readLine.split.map parseInt
  cnt, ttl = 0

while true:
  cnt = a[0]
  a.delete 0

  if a.len == 0:
    break
  elif a[0] < cnt:
    ttl += 1


echo ttl
0