/ Vijos /

记录详情

Compile Error

/in/foo.cc:1:1: error: 'include' does not name a type
 include <stdio.h>
 ^~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:9:44: error: 'scanf' was not declared in this scope
 scanf("%d%d%lf%lf%lf",&n,&m,&d,&first,&last);
                                            ^
/in/foo.cc:11:38: error: 'printf' was not declared in this scope
 printf("%.3lf\n", m==1 ? first : last);
                                      ^
/in/foo.cc:13:1: error: 'a' was not declared in this scope
 a[n][0] = 1;
 ^
/in/foo.cc:21:54: error: 'printf' was not declared in this scope
 printf("%.3lf\n",a[m][0]*last + a[m][1]*t + a[m][2]*d);
                                                      ^

信息

递交者
类型
递交
题目
P1151 失落的成绩单
语言
C++
递交时间
2021-12-18 11:27:14
评测时间
2021-12-18 11:27:14
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes