/ Vijos /

记录详情

Compile Error

foo.cc: In function 'long long int ISAP(std::__cxx11::string)':
foo.cc:35:18: error: expected ',' or ';' before ')' token
   int t=Gt(S,inf)),maxflow=0;
                  ^
foo.cc:37:15: error: 'maxflow' was not declared in this scope
   while(t>=0) maxflow+=t;
               ^~~~~~~
foo.cc:37:15: note: suggested alternative: '__uflow'
   while(t>=0) maxflow+=t;
               ^~~~~~~
               __uflow
foo.cc:38:10: error: 'maxflow' was not declared in this scope
   return maxflow;
          ^~~~~~~
foo.cc:38:10: note: suggested alternative: '__uflow'
   return maxflow;
          ^~~~~~~
          __uflow
foo.cc: In function 'int main()':
foo.cc:72:2: error: expected ';' before 'printf'
  printf("%lld\n",ISAP("NODGD DOG!DOG!"));
  ^~~~~~
foo.cc: In function 'long long int read()':
foo.cc:53:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%lld",&k);
  ~~~~~^~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1524 最小监视代价
语言
C++
递交时间
2021-07-22 14:58:42
评测时间
2021-07-22 14:58:42
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes