/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main(int, char**)':
/in/foo.cc:7:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if (x=0)(y=0);
         ^
/in/foo.cc:9:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if (x=y);
         ^
/in/foo.cc:12:2: error: expected '(' before 'return'
  return 0;
  ^~~~~~
/in/foo.cc:5:16: warning: unused variable 'm' [-Wunused-variable]
  long long x,y,m,n,l;
                ^
/in/foo.cc:5:18: warning: unused variable 'n' [-Wunused-variable]
  long long x,y,m,n,l;
                  ^
/in/foo.cc:5:20: warning: unused variable 'l' [-Wunused-variable]
  long long x,y,m,n,l;
                    ^

信息

递交者
类型
自测
题目
P1009 清帝之惑之康熙
语言
C++
递交时间
2018-08-18 18:41:44
评测时间
2018-08-18 18:41:44
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes