Compile Error
/in/foo.cc: In function 'void ins(int)': /in/foo.cc:17:20: error: 'k' was not declared in this scope void ins(int x){x%=k;num[x]++; nowans+=num[x]-1;} ^ /in/foo.cc: In function 'void del(int)': /in/foo.cc:18:20: error: 'k' was not declared in this scope void del(int x){x%=k;num[x]--; nowans-=num[x];} ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1316 Multiple of k
- 语言
- C++
- 递交时间
- 2022-01-27 18:36:39
- 评测时间
- 2022-01-27 18:36:39
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes