Compile Error
cc1plus: error: '::main' must return 'int'
/in/foo.cc: In function 'int main()':
/in/foo.cc:20:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
20 | scanf("%d%d",&l,&r);
| ~^ ~~
| | |
| int* long long int*
| %lld
/in/foo.cc:20:19: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
20 | scanf("%d%d",&l,&r);
| ~^ ~~
| | |
| int* long long int*
| %lld
信息
- 递交者
- 类型
- 递交
- 题目
- P2978 有趣的数字和
- 语言
- C++
- 递交时间
- 2025-10-26 09:36:46
- 评测时间
- 2025-10-26 09:36:46
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes