/ GMQ OJ /

记录详情

Compile Error

/in/foo.cc: In function 'void high_high_devide(int*, int*, int*)':
/in/foo.cc:14:8: error: 'MAXA' was not declared in this scope
  int e[MAXA];
        ^~~~
/in/foo.cc:17:10: error: 'e' was not declared in this scope
   memset(e,0,sizeof(e));
          ^
/in/foo.cc:17:23: error: 'memset' was not declared in this scope
   memset(e,0,sizeof(e));
                       ^
/in/foo.cc:19:16: error: 'Max' was not declared in this scope
   while(Max(l,e)>=0)p[i]++,high_minus(l,e);
                ^
/in/foo.cc: In function 'void work(int*)':
/in/foo.cc:25:2: error: 'string' was not declared in this scope
  string s;cin>>s;l[0]=s.length();
  ^~~~~~
/in/foo.cc:25:11: error: 'cin' was not declared in this scope
  string s;cin>>s;l[0]=s.length();
           ^~~
/in/foo.cc:25:16: error: 's' was not declared in this scope
  string s;cin>>s;l[0]=s.length();
                ^

信息

递交者
类型
自测
题目
P1033 Watermelon
语言
C++
递交时间
2020-07-11 12:03:23
评测时间
2020-07-11 12:03:23
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes