/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int main()':
foo.cpp:15:2: error: expected unqualified-id before 'for'
  for(b=0;b<=1111;b++)
  ^
foo.cpp:15:10: error: 'b' was not declared in this scope
  for(b=0;b<=1111;b++)
          ^
foo.cpp: At global scope:
foo.cpp:24:8: error: expected constructor, destructor, or type conversion before '(' token
  printf("%d",num);
        ^
foo.cpp:25:2: error: expected unqualified-id before 'return'
  return 0;
  ^
foo.cpp:26:2: error: expected declaration before '}' token
  } a,b,c,m,num=0;
  ^

信息

递交者
类型
递交
题目
P1496 火柴棒等式
语言
C++
递交时间
2015-09-17 20:05:47
评测时间
2015-09-17 20:05:48
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes