/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:20:9: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   20 | scanf("%d%d", &n, &k);
      |        ~^     ~~
      |         |     |
      |         int*  long long int*
      |        %lld
foo.cc:20:11: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
   20 | scanf("%d%d", &n, &k);
      |          ~^       ~~
      |           |       |
      |           int*    long long int*
      |          %lld
foo.cc:23:9: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   23 | scanf("%d", &m[i][j]);
      |        ~^   ~~~~~~~~
      |         |   |
      |         |   long long int*
      |         int*
      |        %lld
foo.cc:20:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   20 | scanf("%d%d", &n, &k);
      | ~~~~~^~~~~~~~~~~~~~~~
foo.cc:23:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   23 | scanf("%d", &m[i][j]);
      | ~~~~~^~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 512.0 KiB
#2 Accepted 3ms 512.0 KiB
#3 Accepted 14ms 2.5 MiB
#4 Accepted 135ms 17.992 MiB
#5 Accepted 126ms 21.348 MiB
#6 Accepted 154ms 26.867 MiB
#7 Accepted 55ms 11.742 MiB
#8 Accepted 50ms 11.617 MiB
#9 Accepted 59ms 10.367 MiB
#10 Accepted 128ms 24.992 MiB

信息

递交者
类型
递交
题目
P1610 扑克の阵
语言
C++
递交时间
2022-01-08 20:13:37
评测时间
2022-01-08 20:13:37
评测机
分数
100
总耗时
730ms
峰值内存
26.867 MiB