結果
| 問題 |
No.560 ふしぎなナップサック
|
| コンテスト | |
| ユーザー |
J31831276
|
| 提出日時 | 2018-12-28 05:25:27 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 271 bytes |
| コンパイル時間 | 415 ms |
| コンパイル使用メモリ | 56,284 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-01 14:57:54 |
| 合計ジャッジ時間 | 990 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
ソースコード
#include <iostream>
#include <algorithm>
#include <cstdio>
#include <string>
#define ll long long
using namespace std;
int dp[1000001];
int main(){
int m,n;
cin>>m>>n;
printf("%.8lf\n",((double)m+(double)(1.000000000/3.000000000)*((double)n)));
return 0;
}
J31831276