QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#408621#6749. TargetZhangYiDeCompile Error//C++20631b2024-05-10 20:20:012024-05-10 20:20:03

详细

answer.code: In function ‘void solve()’:
answer.code:15:18: error: invalid operands of types ‘double’ and ‘int’ to binary ‘operator<<’
   15 |                 m<<=2;
      |                 ~^~~~
answer.code:15:18: note:   in evaluation of ‘operator<<=(double, int)’
answer.code:21:20: error: ‘b’ was not declared in this scope
   21 |                 if(b&(1<<1)){
      |                    ^
answer.code:23:25: error: ‘a’ was not declared in this scope
   23 |                         a=a/2+0.5;
      |                         ^
answer.code:27:25: error: ‘a’ was not declared in this scope
   27 |                         a/=2;
      |                         ^