結果
| 問題 |
No.2014 Eggs Hatching
|
| コンテスト | |
| ユーザー |
toshiro_yanagi
|
| 提出日時 | 2022-08-06 09:18:55 |
| 言語 | Nim (2.2.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 2,000 ms |
| コード長 | 313 bytes |
| コンパイル時間 | 4,029 ms |
| コンパイル使用メモリ | 64,272 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-16 05:16:14 |
| 合計ジャッジ時間 | 4,469 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge6 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 18 |
ソースコード
import strutils
proc pInt(s: auto): int = parseInt($s)
proc input(): string =
while not stdin.endOfFile:
let c = stdin.readChar
if c == '\r': continue
if c in [' ', '\n']: break
result.add c
proc main(): void =
let a, b, c = pInt(input())
echo [a, b, c].min
when isMainModule:
main()
toshiro_yanagi