/ GMQ OJ /

记录详情

Compile Error

foo.cc: In function 'void high_high_devide(int*, int*, int*)':
foo.cc:31:9: error: 'Max' was not declared in this scope
   while(Max(l,e)>=0)p[i]++,high_minus(l,e);
         ^~~
foo.cc:31:9: note: suggested alternative: 'Maxn'
   while(Max(l,e)>=0)p[i]++,high_minus(l,e);
         ^~~
         Maxn
foo.cc: In function 'void work(int*)':
foo.cc:37:2: error: 'string' was not declared in this scope
  string s;cin>>s;l[0]=s.length();
  ^~~~~~
foo.cc:37:2: note: suggested alternative: 'stdin'
  string s;cin>>s;l[0]=s.length();
  ^~~~~~
  stdin
foo.cc:37:11: error: 'cin' was not declared in this scope
  string s;cin>>s;l[0]=s.length();
           ^~~
foo.cc:37:11: note: suggested alternative: 'Minn'
  string s;cin>>s;l[0]=s.length();
           ^~~
           Minn
foo.cc:37:16: error: 's' was not declared in this scope
  string s;cin>>s;l[0]=s.length();
                ^

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)

信息

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