/ Vijos /

记录详情

Compile Error

/in/foo.cc:7:10: error: '::main' must return 'int'
 int main(){
          ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:26:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
             if(a[i]>b[k])
             ^~
/in/foo.cc:28:15: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
               ans=max(ans,dp[i][j]);
               ^~~
/in/foo.cc:23:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
       for(int j=1;j<=n;j++)
       ^~~
/in/foo.cc:33:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
         printf("%lld\n",ans);
         ^~~~~~

信息

递交者
类型
自测
题目
P1264 神秘的咒语
语言
C++
递交时间
2018-09-23 11:23:13
评测时间
2018-09-23 11:23:13
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes