Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:100:13: error: invalid conversion from 'clock_t (*)() throw () {aka long int (*)() throw ()}' to 'unsigned int' [-fpermissive] srand(clock); ^ In file included from /usr/include/c++/6/cstdlib:75:0, from /in/foo.cc:4: /usr/include/stdlib.h:337:13: note: initializing argument 1 of 'void srand(unsigned int)' extern void srand (unsigned int __seed) __THROW; ^~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1045 平衡点 / 【模版】模拟退火
- 语言
- C++
- 递交时间
- 2024-03-07 17:39:13
- 评测时间
- 2024-03-07 17:39:13
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes