結果
問題 | No.560 ふしぎなナップサック |
ユーザー |
![]() |
提出日時 | 2017-09-06 16:38:26 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 183 bytes |
コンパイル時間 | 168 ms |
コンパイル使用メモリ | 29,824 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-06 23:53:37 |
合計ジャッジ時間 | 847 ms |
ジャッジサーバーID (参考情報) |
judge4 / 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; }