Wrong Answer
foo.c: In function 'main':
foo.c:6:18: warning: format '%ld' expects argument of type 'long int *', but argument 2 has type 'int *' [-Wformat=]
6 | scanf("%ld",&n);
| ~~^ ~~
| | |
| | int *
| long int *
| %d
foo.c:7:15: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
7 | printf("%ld",n-1);
| ~~^ ~~~
| | |
| | int
| long int
| %d
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1002 硕哥的最短路
- 语言
- C
- 递交时间
- 2023-08-23 12:21:07
- 评测时间
- 2023-08-23 12:21:07
- 评测机
- 分数
- 40
- 总耗时
- 38ms
- 峰值内存
- 388.0 KiB