/ WHOJ /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:11:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   11 |    if(i!=j)
      |      ^
foo.cc:6:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    6 |  scanf("%d",&n);
      |  ~~~~~^~~~~~~~~
foo.cc:7:49: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    7 |  for(int i=1;i<=n;i++)for(int j=1;j<=n;j++)scanf("%d",&a[i][j]);
      |                                            ~~~~~^~~~~~~~~~~~~~~
Found 5 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Wrong Answer User output longer than standard answer. 1ms 256.0 KiB
#3 Wrong Answer User output longer than standard answer. 1ms 256.0 KiB
#4 Wrong Answer User output longer than standard answer. 1ms 256.0 KiB
#5 Wrong Answer User output longer than standard answer. 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1034 芯片测试
题目数据
下载
语言
C++
递交时间
2022-01-28 20:26:41
评测时间
2022-01-28 20:26:41
评测机
分数
20
总耗时
6ms
峰值内存
384.0 KiB