結果

問題 No.1076 寿司打
ユーザー rainy
提出日時 2021-07-27 16:55:17
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 121 bytes
コンパイル時間 524 ms
コンパイル使用メモリ 27,008 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-07-23 14:03:18
合計ジャッジ時間 1,009 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>

int main(void) {
	double p;
	int ans;
	scanf("%lf", &p);
	ans = 1 / (1 - p) - 1;
	printf("%d", ans);
}
0