记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:56:35: warning: format '%c' expects argument of type 'char*', but argument 2 has type 'int*' [-Wformat=]
             scanf("%c", &mat[i][j]);
                         ~~~~~~~~~~^
foo.cc:52:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d%d", &w, &h);
     ~~~~~^~~~~~~~~~~~~~~~
foo.cc:56:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
             scanf("%c", &mat[i][j]);
             ~~~~~^~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 0a1,4 > 1 > 1 > 2 > 2 1ms 336.0 KiB
#2 Wrong Answer 0a1,5 > 7 > 5 > 2 > 0 > 4 1ms 384.0 KiB
#3 Wrong Answer 0a1,5 > 0 > 4 > 5 > 5 > 5 1ms 384.0 KiB
#4 Wrong Answer 0a1,5 > 3 > 2 > 3 > 3 > 6 1ms 384.0 KiB
#5 Wrong Answer 0a1 > 91 2ms 384.0 KiB
#6 Wrong Answer 0a1 > 1729 2ms 384.0 KiB
#7 Wrong Answer 0a1,2 > 63 > 2 1ms 384.0 KiB

信息

递交者
类型
递交
题目
麻将游戏
题目数据
下载
语言
C++
递交时间
2020-12-07 22:08:51
评测时间
2020-12-07 22:08:51
评测机
分数
0
总耗时
14ms
峰值内存
384.0 KiB