编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#5029 | #1031. 统计 | Compile Error | 0 | 0 ms | 0 K | C++ 17 / 789 B | t330034024 | 2024-02-25 15:07:30 |
using namespace std;
const int N = 200005;
int n, m, a, num;
int
int
编译信息
cc1plus: error: '::main' must return 'int'
/sandbox/1/a.cpp: In function 'int main()':
/sandbox/1/a.cpp:56:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
56 | printf("%d\n",ans);
| ~^ ~~~
| | |
| int long long int
| %lld