結果

問題 No.734 Careful Engineer
ユーザー tlllune
提出日時 2018-09-28 21:28:51
言語 Nim
(2.2.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 156 bytes
コンパイル時間 3,868 ms
コンパイル使用メモリ 68,024 KB
実行使用メモリ 7,844 KB
最終ジャッジ日時 2025-06-20 00:43:19
合計ジャッジ時間 4,456 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 13
権限があれば一括ダウンロードができます
コンパイルメッセージ
/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