/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:25:9: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=]
   25 | scanf("%d",&a[i][j]);
      |        ~^  ~~~~~~~~
      |         |  |
      |         |  short int*
      |         int*
      |        %hd
foo.cc:21:7: warning: unused variable 'k' [-Wunused-variable]
   21 | int n,k;
      |       ^
foo.cc:25:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   25 | scanf("%d",&a[i][j]);
      | ~~~~~^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 768.0 KiB
#2 Accepted 10ms 5.875 MiB
#3 Accepted 2ms 768.0 KiB
#4 Accepted 60ms 25.617 MiB
#5 Accepted 244ms 75.992 MiB
#6 Accepted 834ms 163.992 MiB
#7 Accepted 816ms 163.938 MiB
#8 Accepted 793ms 163.992 MiB
#9 Accepted 839ms 163.992 MiB
#10 Accepted 798ms 163.992 MiB

信息

递交者
类型
递交
题目
P1143 三取方格数
语言
C++
递交时间
2022-05-14 01:19:44
评测时间
2022-05-14 01:19:44
评测机
分数
100
总耗时
4405ms
峰值内存
163.992 MiB