/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:20:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
 scanf("%d%d", &n, &k);
               ~~    ^
foo.cc:20:21: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
foo.cc:23:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
 scanf("%d", &m[i][j]);
             ~~~~~~~~^
foo.cc:20:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 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]
 scanf("%d", &m[i][j]);
 ~~~~~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 504.0 KiB
#2 Accepted 2ms 536.0 KiB
#3 Accepted 4ms 2.5 MiB
#4 Accepted 45ms 19.199 MiB
#5 Accepted 60ms 23.148 MiB
#6 Accepted 87ms 29.777 MiB
#7 Accepted 25ms 12.398 MiB
#8 Accepted 24ms 12.168 MiB
#9 Accepted 21ms 10.973 MiB
#10 Accepted 81ms 27.391 MiB

信息

递交者
类型
递交
题目
P1610 扑克の阵
语言
C++
递交时间
2021-10-10 22:09:09
评测时间
2021-10-10 22:09:09
评测机
分数
100
总耗时
356ms
峰值内存
29.777 MiB