Runtime Error
foo.cc: In function 'int main()':
foo.cc:9:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
9 | scanf("%d", &n);
| ~^ ~~
| | |
| | long long int*
| int*
| %lld
foo.cc:10:45: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
10 | for(int i = 1; i <= n; i++) scanf("%d", &p[i]);
| ~^ ~~~~~
| | |
| | long long int*
| int*
| %lld
foo.cc:23:54: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
23 | for(int j = 1; j <= n; j++) printf("%d ", ans[i][j]);
| ~^ ~~~~~~~~~
| | |
| int long long int
| %lld
Found 10 testcases. [Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1036 【ZYCode R6】Random
- 语言
- C++
- 递交时间
- 2023-07-11 13:05:48
- 评测时间
- 2023-07-11 13:05:48
- 评测机
- 分数
- 30
- 总耗时
- 4445ms
- 峰值内存
- 115.145 MiB