結果
| 問題 | No.560 ふしぎなナップサック |
| コンテスト | |
| ユーザー |
jokin_tokei
|
| 提出日時 | 2017-09-06 16:38:26 |
| 言語 | C(gnu17) (gcc 15.2.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 183 bytes |
| 記録 | |
| コンパイル時間 | 176 ms |
| コンパイル使用メモリ | 40,692 KB |
| 最終ジャッジ日時 | 2026-02-22 00:12:59 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
ソースコード
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int main(){
int m, n;
double res;
scanf("%d %d", &m, &n);
res = (double)n/3;
printf("%f\n", m+res);
return 0;
}
jokin_tokei