/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(money<0) cout<<0-i; return 0;
   ^~
/in/foo.cc:14:26: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if(money<0) cout<<0-i; return 0;
                          ^~~~~~
/in/foo.cc:15:3: error: 'else' without a previous 'if'
   else{
   ^~~~
/in/foo.cc:5:9: warning: unused variable 'month' [-Wunused-variable]
     int month=1;
         ^~~~~

信息

递交者
类型
自测
题目
P1096 津津的储蓄计划
语言
C++
递交时间
2020-03-07 10:44:52
评测时间
2020-03-07 10:44:52
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes