QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#748268#8221. 多方计算HuluoboCompile Error//C++14588b2024-11-14 19:52:072024-11-14 19:52:07

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+k2;
      |                      ^~
      |                      k1
answer.code:14:33: error: ‘m’ was not declared in this scope
   14 |                 if(b+b1>=0) b=b+m+k2;
      |                                 ^
answer.code:15:26: error: ‘m’ was not declared in this scope
   15 |                 else b=b+m+k1+k3;
      |                          ^
answer.code:18:9: error: ‘pos’ was not declared in this scope; did you mean ‘pow’?
   18 |         pos=b;
      |         ^~~
      |         pow