結果

問題 No.201 yukicoderじゃんけん
ユーザー apahieapahie
提出日時 2019-04-20 22:40:36
言語 Nim
(2.2.0)
結果
RE  
実行時間 -
コード長 211 bytes
コンパイル時間 3,339 ms
コンパイル使用メモリ 65,756 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-07-01 23:15:03
合計ジャッジ時間 4,208 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2 RE * 18
権限があれば一括ダウンロードができます
コンパイルメッセージ
/home/judge/data/code/Main.nim(1, 8) Warning: imported and not used: 'sequtils' [UnusedImport]
/home/judge/data/code/Main.nim(1, 28) Warning: imported and not used: 'sugar' [UnusedImport]

ソースコード

diff #

import sequtils, strutils, sugar

let t1, t2 = stdin.readLine.split
if t1[1].parseBiggestInt > t2[1].parseBiggestInt:
  echo t1[0]
elif t1[1].parseBiggestInt < t2[1].parseBiggestInt:
  echo t2[0]
else:
  echo -1
0