Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:17:21: error: 'srand' was not declared in this scope srand(time(NULL)); ^ /in/foo.cc:19:22: error: 'rand' was not declared in this scope int c = rand() % (a + b) + 1; ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1000 A+B Problem
- 语言
- C++
- 递交时间
- 2024-06-04 20:43:54
- 评测时间
- 2024-06-04 20:43:54
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes