QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#748265#8221. 多方计算HuluoboCompile Error//C++14588b2024-11-14 19:51:382024-11-14 19:51:39

Details

answer.code: In function ‘bool transmit(player&, int, int)’:
answer.code:14:22: error: ‘b1’ was not declared in this scope; did you mean ‘k1’?
   14 |                 if(b+b1>=0) b=b+m+b2;
      |                      ^~
      |                      k1
answer.code:14:33: error: ‘m’ was not declared in this scope
   14 |                 if(b+b1>=0) b=b+m+b2;
      |                                 ^
answer.code:14:35: error: ‘b2’ was not declared in this scope; did you mean ‘k2’?
   14 |                 if(b+b1>=0) b=b+m+b2;
      |                                   ^~
      |                                   k2
answer.code:15:26: error: ‘m’ was not declared in this scope
   15 |                 else b=b+m+b1+b3;
      |                          ^
answer.code:15:31: error: ‘b3’ was not declared in this scope; did you mean ‘k3’?
   15 |                 else b=b+m+b1+b3;
      |                               ^~
      |                               k3
answer.code:18:9: error: ‘pos’ was not declared in this scope; did you mean ‘pow’?
   18 |         pos=b;
      |         ^~~
      |         pow