Accepted
foo.cc: In function 'int main()': foo.cc:9:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 9 | scanf("%d",&n);number=n*n; | ~~~~~^~~~~~~~~ foo.cc:8:20: warning: 'n' is used uninitialized in this function [-Wuninitialized] 8 | int x,y,n,number=n*n; | ~^~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1096 蛇形矩阵(2)
- 语言
- C++
- 递交时间
- 2022-07-16 19:14:59
- 评测时间
- 2022-07-16 19:14:59
- 评测机
- 分数
- 100
- 总耗时
- 8ms
- 峰值内存
- 256.0 KiB