結果

問題 No.560 ふしぎなナップサック
ユーザー takubokudori
提出日時 2017-08-25 22:36:38
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 280 bytes
コンパイル時間 568 ms
コンパイル使用メモリ 69,392 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-15 16:02:47
合計ジャッジ時間 1,151 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <set>
#include <queue>
#include <stack>
#include <cmath>
#include <cstdlib>
#include <cstdio>
using namespace std;

int main(void){
	double a,b;
	cin>>a>>b;
	printf("%.9lf",a+1.0/3.0*b);
	return 0;
}
0