Wrong Answer
foo.cc: In function ‘int main()’:
foo.cc:7:13: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
7 | scanf("%d", &n);
| ~^ ~~
| | |
| | long long int*
| int*
| %lld
foo.cc:15:14: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
15 | printf("%d",a+b);
| ~^ ~~~
| | |
| int long long int
| %lld
信息
- 递交者
- 类型
- 递交
- 题目
- P1080 1-1 数字循环左移
- 语言
- C++
- 递交时间
- 2024-08-19 22:55:17
- 评测时间
- 2024-08-19 22:55:17
- 评测机
- 分数
- 0
- 总耗时
- 12ms
- 峰值内存
- 540.0 KiB