結果
問題 | No.903 太郎の確率 |
ユーザー |
![]() |
提出日時 | 2019-12-30 06:36:04 |
言語 | Kotlin (2.1.0) |
結果 |
AC
|
実行時間 | 284 ms / 2,000 ms |
コード長 | 239 bytes |
コンパイル時間 | 11,175 ms |
コンパイル使用メモリ | 423,600 KB |
実行使用メモリ | 49,884 KB |
最終ジャッジ日時 | 2024-11-07 10:52:40 |
合計ジャッジ時間 | 14,769 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 5 |
ソースコード
// https://yukicoder.me/problems/no/903 package yukicoder fun f(x: Int): Float { return 1 / x.toFloat() } fun main() { var n = readLine()!!.toInt() // read integer from the input println(f(n)) // print answer to the output }