/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:15:5: error: 'scanf' was not declared in this scope
     scanf("%d", &n);
     ^~~~~
foo.cc:30:30: error: 'min' was not declared in this scope
                     te[j][k]=min(te[j][k], te[j-girl[i].rmb][k-girl[i].rp]+girl[i].time);
                              ^~~
foo.cc:30:30: note: suggested alternative: 'main'
                     te[j][k]=min(te[j][k], te[j-girl[i].rmb][k-girl[i].rp]+girl[i].time);
                              ^~~
                              main
foo.cc:32:5: error: 'printf' was not declared in this scope
     printf("%d\n", te[m][r]);
     ^~~~~~
foo.cc:32:5: note: suggested alternative: 'int'
     printf("%d\n", te[m][r]);
     ^~~~~~
     int
正在同步测试数据,请稍后

信息

递交者
类型
递交
题目
P1544 GF
语言
C++
递交时间
2021-01-16 09:24:38
评测时间
2021-01-16 09:24:38
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes