結果

問題 No.1101 鼻水
ユーザー mmn15277198
提出日時 2020-07-03 22:40:30
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 278 bytes
コンパイル時間 567 ms
コンパイル使用メモリ 71,392 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-09-17 04:20:15
合計ジャッジ時間 1,366 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 1 WA * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <string>
#include <vector>
#include <iostream>
#include <algorithm>
#include <functional>
#include <string>
using namespace std;

int main(){
	long long v,t,p;
	cin >> v >> t >> p;
	t--;
	unsigned long long ans=v*p+v+(((v+t-1)/t));
	cout << ans << endl;
	
	return 0;
}
0