/ Vijos /

记录详情

Compile Error

foo.cpp: In member function 'void node::build(int*, int, int, int)':
foo.cpp:17:47: error: 'min' was not declared in this scope
               Min[p] = min(Min[p+p],Min[p+p+1]);
                                               ^
foo.cpp: In member function 'void node::update(int)':
foo.cpp:20:52: error: 'min' was not declared in this scope
               Min[p] = min(Min[p+p]-dec[p+p],Min[p]);
                                                    ^
foo.cpp: In function 'int main()':
foo.cpp:50:5: error: 'cin' was not declared in this scope
     cin >> n >> m ;
     ^
foo.cpp:61:5: error: 'cout' was not declared in this scope
     cout << 0 << endl;
     ^
foo.cpp:61:18: error: 'endl' was not declared in this scope
     cout << 0 << endl;
                  ^

信息

递交者
类型
递交
题目
P1782 借教室
语言
C++
递交时间
2016-06-11 16:22:27
评测时间
2016-06-11 16:22:28
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes