/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:27:21: error: 'min' was not declared in this scope
    lim=min(k*x+x,n+x);
                     ^
/in/foo.cc:27:21: note: suggested alternative:
In file included from /usr/include/c++/6/algorithm:62:0,
                 from /in/foo.cc:5:
/usr/include/c++/6/bits/stl_algo.h:3453:5: note:   'std::min'
     min(initializer_list<_Tp> __l, _Compare __comp)
     ^~~

信息

递交者
类型
递交
题目
P1932 重要的誓言
语言
C++
递交时间
2017-08-21 16:12:16
评测时间
2017-08-21 16:12:16
评测机
分数
0
总耗时
263ms
峰值内存
35.117 MiB