/ Vijos /

记录详情

Compile Error

foo.cpp:8:1: error: expected initializer before 'int'
 int SIZE, SIZE2;
 ^
foo.cpp: In function 'void proc()':
foo.cpp:14:15: error: 'SIZE' was not declared in this scope
  while (pos < SIZE)
               ^
foo.cpp:26:2: error: 'SIZE2' was not declared in this scope
  SIZE2 = num.size();
  ^
foo.cpp: In function 'int main()':
foo.cpp:33:2: error: 'SIZE' was not declared in this scope
  SIZE = input.size();
  ^
foo.cpp:35:22: error: 'SIZE2' was not declared in this scope
  for (int i = 0; i < SIZE2; ++i)
                      ^
foo.cpp:38:8: error: 'ans' was not declared in this scope
   else ans += num[i];
        ^
foo.cpp:40:10: error: 'ans' was not declared in this scope
  cout << ans % MOD << endl;
          ^

信息

递交者
类型
递交
题目
P1849 表达式求值
语言
C++
递交时间
2016-06-21 17:28:41
评测时间
2016-06-21 17:28:41
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes