/ OPS /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:7: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
    8 |   if(a>b&a==b){
      |      ~^~
/in/foo.cc:10:11: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
   10 |     if(i%a==0&i%b==0){cout<<i<<endl;break;}
      |        ~~~^~~
/in/foo.cc:15:11: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
   15 |     if(i%a==0&i%b==0){cout<<i<<endl;break;}
      |        ~~~^~~
/in/foo.cc:22:1: error: expected '}' at end of input
   22 | }
      | ^
/in/foo.cc:5:1: note: to match this '{'
    5 | {
      | ^

信息

递交者
类型
递交
题目
P1030 最小公倍数
语言
C++
递交时间
2025-03-27 20:14:05
评测时间
2025-03-27 20:14:05
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes