/ CWOI /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:27:2: error: expected ';' before 'for'
  for(int i=0;i<=n;i++)
  ^~~
/in/foo.cc:27:14: error: 'i' was not declared in this scope
  for(int i=0;i<=n;i++)
              ^
/in/foo.cc:28:15: error: 'j' was not declared in this scope
   for(int j=0;j<=n;j++)
               ^
/in/foo.cc:36:12: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
  int t=1<<n+1,ans=inf;
           ~^~

信息

递交者
类型
递交
题目
2017.07.05 P2 送快餐
语言
C++
递交时间
2017-07-05 19:17:13
评测时间
2017-07-05 19:17:13
评测机
分数
0
总耗时
340ms
峰值内存
43.617 MiB