Compile Error

/in/foo.cc: In function 'long long int jc(short int)':
/in/foo.cc:6:9: error: 'll' was not declared in this scope
    6 |         ll h=1;
      |         ^~
/in/foo.cc:8:17: error: 'h' was not declared in this scope
    8 |                 h*=i;
      |                 ^
/in/foo.cc:9:16: error: 'h' was not declared in this scope
    9 |         return h;
      |                ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:37:42: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
   37 |                                 if(i>>j&1==1)
      |                                         ~^~~
/in/foo.cc:41:28: error: expected primary-expression before ')' token
   41 |                         if() ans++;
      |                            ^

信息

递交者
类型
递交
题目
P2990 多边形
语言
C++
递交时间
2025-12-07 09:36:52
评测时间
2025-12-07 09:36:52
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes