結果

問題 No.734 Careful Engineer
ユーザー tlllune
提出日時 2018-09-28 21:28:51
言語 Nim
(2.2.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 156 bytes
コンパイル時間 6,339 ms
コンパイル使用メモリ 65,940 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2025-01-18 00:03:32
合計ジャッジ時間 5,692 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 11
権限があれば一括ダウンロードができます
コンパイルメッセージ
/home/judge/data/code/Main.nim(2, 8) Warning: imported and not used: 'algorithm' [UnusedImport]

ソースコード

diff #

import algorithm,sequtils,strutils,math

let a=map(split(readline(stdin)),parseInt)

if a[0]*60>a[1]:echo int(ceil(a[2]*3600/(a[0]*60-a[1])))
else: echo -1
0