/ 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 4ms 512.0 KiB
#2 Accepted 3ms 524.0 KiB
#3 Accepted 7ms 2.5 MiB
#4 Accepted 47ms 17.992 MiB
#5 Accepted 60ms 21.367 MiB
#6 Accepted 90ms 26.867 MiB
#7 Accepted 37ms 11.617 MiB
#8 Accepted 55ms 11.492 MiB
#9 Accepted 22ms 10.492 MiB
#10 Accepted 81ms 24.992 MiB

信息

递交者
类型
递交
题目
P1610 扑克の阵
语言
C++
递交时间
2022-07-18 16:43:19
评测时间
2022-07-18 16:43:19
评测机
分数
100
总耗时
411ms
峰值内存
26.867 MiB