結果
問題 | No.1408 Nice Dice Game |
ユーザー |
![]() |
提出日時 | 2021-02-26 21:52:41 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 353 bytes |
コンパイル時間 | 1,557 ms |
コンパイル使用メモリ | 164,112 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-02 14:32:46 |
合計ジャッジ時間 | 4,061 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 26 RE * 10 |
ソースコード
#include <bits/stdc++.h>int ri() {int n;scanf("%d", &n);return n;}int main() {int n = ri();if (n == 1) {puts("1.20205690315959428539973816151144");} else if (n == 2) {puts("1.0823232337111381915160036965411679027747");} else if (n == 3) {puts("1.036927755");} else if (n > 100) puts("1");else assert(0);return 0;}