/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:9:33: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=]
  scanf("%d %d %d %d",&n,&m,&r,&c);
                      ~~         ^
foo.cc:9:33: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=]
foo.cc:9:33: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'short int*' [-Wformat=]
foo.cc:9:33: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'short int*' [-Wformat=]
foo.cc:14:55: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=]
  for(i=0;i<n;i++) for(j=0;j<m;j++) scanf("%d",&v[i][j]);
                                               ~~~~~~~~^
foo.cc:9:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d %d %d %d",&n,&m,&r,&c);
  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:14:41: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  for(i=0;i<n;i++) for(j=0;j<m;j++) scanf("%d",&v[i][j]);
                                    ~~~~~^~~~~~~~~~~~~~~

自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-05-28T09:53:05.219Z","handle":"2020-05-28T09:53:05.219Z","cache_start":"2020-05-28T09:53:05.226Z","read_cases":"2020-05-28T09:53:05.343Z","judge":"2020-05-28T09:53:05.343Z","done":"2020-05-28T09:53:09.230Z"}
# 状态 耗时 内存占用
#1 Accepted 110ms 312.0 KiB
#2 Accepted 110ms 308.0 KiB
#3 Accepted 112ms 316.0 KiB
#4 Accepted 111ms 308.0 KiB
#5 Accepted 108ms 312.0 KiB
#6 Wrong Answer 0a1 > 25038 490ms 256.0 KiB
#7 Wrong Answer 0a1 > 22744 488ms 256.0 KiB
#8 Wrong Answer 0a1 > 25810 491ms 256.0 KiB
#9 Wrong Answer 0a1 > 26026 487ms 256.0 KiB
#10 Wrong Answer 0a1 > 24050 868ms 256.0 KiB

信息

递交者
类型
递交
题目
P1914 子矩阵
语言
C++
递交时间
2020-05-28 17:53:05
评测时间
2020-05-28 17:53:05
评测机
分数
50
总耗时
3379ms
峰值内存
316.0 KiB