QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#567090#7775. 【模板】矩阵快速幂gg_gongCompile Error//C++206.4kb2024-09-16 06:48:082024-09-16 06:48:09

Details

answer.code: In function ‘void solving::main()’:
answer.code:163:51: error: expected ‘;’ before ‘:’ token
  163 |                                 from1[i][step]=INF:
      |                                                   ^
      |                                                   ;
answer.code:164:38: error: ‘id’ was not declared in this scope; did you mean ‘ld’?
  164 |                         for(int id=1;id<=m;id++)
      |                                      ^~
      |                                      ld
answer.code:170:59: error: expected ‘;’ before ‘:’ token
  170 |                                         from1[i][step]=INF:
      |                                                           ^
      |                                                           ;
answer.code:171:46: error: ‘id’ was not declared in this scope; did you mean ‘ld’?
  171 |                                 for(int id=1;id<=m;id++)
      |                                              ^~
      |                                              ld
answer.code: At global scope:
answer.code:240:8: error: ambiguating new declaration of ‘int solving::main()’
  240 | signed main(){
      |        ^~~~
answer.code:119:14: note: old declaration ‘void solving::main()’
  119 |         void main(){
      |              ^~~~
answer.code:249:2: error: expected ‘}’ at end of input
  249 | }
      |  ^
answer.code:39:18: note: to match this ‘{’
   39 | namespace solving{
      |                  ^
answer.code: In function ‘void solving::main()’:
answer.code:121:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  121 |                 scanf("%s",k+1);
      |                 ~~~~~^~~~~~~~~~