結果
問題 | No.734 Careful Engineer |
ユーザー | mkanenobu |
提出日時 | 2018-10-02 12:50:12 |
言語 | Nim (2.0.2) |
結果 |
TLE
|
実行時間 | - |
コード長 | 269 bytes |
コンパイル時間 | 2,741 ms |
コンパイル使用メモリ | 68,184 KB |
実行使用メモリ | 8,760 KB |
最終ジャッジ日時 | 2023-09-13 20:15:13 |
合計ジャッジ時間 | 6,365 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 2 ms
4,376 KB |
testcase_01 | TLE | - |
testcase_02 | -- | - |
testcase_03 | -- | - |
testcase_04 | -- | - |
testcase_05 | -- | - |
testcase_06 | -- | - |
testcase_07 | -- | - |
testcase_08 | -- | - |
testcase_09 | -- | - |
testcase_10 | -- | - |
testcase_11 | -- | - |
testcase_12 | -- | - |
testcase_13 | -- | - |
コンパイルメッセージ
/home/judge/data/code/Main.nim(1, 28) Warning: imported and not used: 'algorithm' [UnusedImport] /home/judge/data/code/Main.nim(1, 39) Warning: imported and not used: 'math' [UnusedImport]
ソースコード
import sequtils, strutils, algorithm, math var a,b,c:int i = 0 n1, n2:int (a,b,c) = readLine(stdin).split.map(parseInt) a *= 60 c *= 3600 proc main():int = if a <= b: return -1 while true: if i * a > c + i * b: return i i += 1 echo main()