結果
問題 | No.560 ふしぎなナップサック |
ユーザー |
|
提出日時 | 2017-03-26 14:37:31 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 197 bytes |
コンパイル時間 | 459 ms |
コンパイル使用メモリ | 62,344 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-06 06:28:18 |
合計ジャッジ時間 | 1,072 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | AC * 4 WA * 8 |
ソースコード
#include<iostream>#include<cstdio>using namespace std;float N,M;double ans;int main(){//ios::sync_with_stdio(false);cin>>M>>N;ans=M+(N/3);printf("%.10lf",ans);}