/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int main()':
foo.cpp:22:21: error: 'scanf' was not declared in this scope
 scanf("%d%d", &n, &m);
                     ^
foo.cpp:34:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 while(buf = Q[front ++]) {
                       ^
foo.cpp:41:26: error: 'printf' was not declared in this scope
 printf("%d\n", DP[buf][m]);
                          ^
foo.cpp:42:15: error: 'system' was not declared in this scope
 system("pause");
               ^

信息

递交者
类型
递交
题目
P1180 选课
语言
C++
递交时间
2014-12-06 10:05:14
评测时间
2014-12-06 10:05:16
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes