QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#474174#3082. Ascending MatrixHuangHanShengCompile Error//C++142.3kb2024-07-12 16:31:132024-07-12 16:31:13

Details

answer.code: In function ‘int main()’:
answer.code:61:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘long long int (*)[405]’ [-Wformat=]
   61 |                         printf("%lld+%lld ",a)
      |                                 ~~~^        ~
      |                                    |        |
      |                                    |        long long int (*)[405]
      |                                    long long int
answer.code:61:41: warning: format ‘%lld’ expects a matching ‘long long int’ argument [-Wformat=]
   61 |                         printf("%lld+%lld ",a)
      |                                      ~~~^
      |                                         |
      |                                         long long int
answer.code:61:47: error: expected ‘;’ before ‘}’ token
   61 |                         printf("%lld+%lld ",a)
      |                                               ^
      |                                               ;
   62 |                 }
      |                 ~                              
answer.code:51:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   51 |         scanf("%d%d%d%d%d%d",&n,&m,&k,&r,&c,&v);--k;
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~