結果
| 問題 |
No.1807 UMA Gacha
|
| コンテスト | |
| ユーザー |
MaineCoon
|
| 提出日時 | 2022-01-15 10:32:26 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 213 bytes |
| コンパイル時間 | 485 ms |
| コンパイル使用メモリ | 30,976 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-21 09:02:01 |
| 合計ジャッジ時間 | 1,475 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 4 |
| other | WA * 21 |
ソースコード
#include<stdio.h>
int main(){
int a;
double ans;
double b;
ans = 0;
scanf("%d %lf", &a, &b);
ans = (1 - b);
for (int i = 1; i < b;i++){
ans *= b;
}
printf("%f", ans);
}
MaineCoon