/ Vijos /

记录详情

Compile Error

/in/foo.cc:6:21: error: stray '\357' in program
  int sum = 0, a[101],t[10001] = {}, g[10001] = {};
                     ^
/in/foo.cc:6:22: error: stray '\274' in program
  int sum = 0, a[101],t[10001] = {}, g[10001] = {};
                      ^
/in/foo.cc:6:23: error: stray '\214' in program
  int sum = 0, a[101],t[10001] = {}, g[10001] = {};
                       ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:6:24: error: expected initializer before 't'
  int sum = 0, a[101],t[10001] = {}, g[10001] = {};
                        ^
/in/foo.cc:6:37: error: expected primary-expression before ',' token
  int sum = 0, a[101],t[10001] = {}, g[10001] = {};
                                     ^
/in/foo.cc:6:39: error: 'g' was not declared in this scope
  int sum = 0, a[101],t[10001] = {}, g[10001] = {};
                                       ^
/in/foo.cc:9:15: error: 'a' was not declared in this scope
   sacnf("%d",&a[i]);
               ^
/in/foo.cc:9:19: error: 'sacnf' was not declared in this scope
   sacnf("%d",&a[i]);
                   ^
/in/foo.cc:14:4: error: 't' was not declared in this scope
    t[a[i]+a[j]]++;
    ^
/in/foo.cc:14:6: error: 'a' was not declared in this scope
    t[a[i]+a[j]]++;
      ^
/in/foo.cc:18:6: error: 't' was not declared in this scope
   if(t[i] > 0 && g[i])
      ^

信息

递交者
类型
自测
题目
P1911 珠心算测验
语言
C++
递交时间
2018-08-11 10:42:56
评测时间
2018-08-11 10:42:56
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes