/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int main()':
foo.cpp:16:21: error: 'scanf' was not declared in this scope
 scanf("%d%d", &n, &m);
                     ^
foo.cpp:23:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 if(pos > g.size()) pos = k + 1;
        ^
foo.cpp:27:19: error: 'printf' was not declared in this scope
 printf("%d\n", ans);
                   ^

信息

递交者
类型
递交
题目
P1078 松鼠吃果子
语言
C++
递交时间
2015-05-19 14:07:25
评测时间
2015-05-19 14:07:27
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes