记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:12: error: expected ')' before ';' token
   if(m%i==0;n%i==0)
            ^
/in/foo.cc:7:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(m%i==0;n%i==0)
   ^~
/in/foo.cc:7:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if(m%i==0;n%i==0)
             ^
/in/foo.cc:7:19: error: expected ';' before ')' token
   if(m%i==0;n%i==0)
                   ^
/in/foo.cc:7:16: warning: statement has no effect [-Wunused-value]
   if(m%i==0;n%i==0)
             ~~~^~~

信息

递交者
类型
递交
题目
最大公约数
语言
C++
递交时间
2018-06-03 10:35:44
评测时间
2018-06-03 10:35:44
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes