/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'bool isdate(int, int, int)':
/in/foo.cc:22:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if(y>=1&&y<=29) return true;break;
     ^~
/in/foo.cc:22:33: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if(y>=1&&y<=29) return true;break;
                                 ^~~~~
/in/foo.cc:25:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    if(y>=1&&y<=28) return true;break;
    ^~
/in/foo.cc:25:32: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    if(y>=1&&y<=28) return true;break;
                                ^~~~~
/in/foo.cc:24:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
    else
    ^~~~
/in/foo.cc:25:32: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
    if(y>=1&&y<=28) return true;break;
                                ^~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:42:12: warning: unused variable 't2' [-Wunused-variable]
  int t1[5],t2[5];
            ^~
# 状态 耗时 内存占用
#1 Accepted 3ms 372.0 KiB
#2 Accepted 4ms 340.0 KiB
#3 Accepted 4ms 256.0 KiB
#4 Accepted 5ms 372.0 KiB
#5 Accepted 4ms 368.0 KiB
#6 Accepted 5ms 352.0 KiB
#7 Accepted 2ms 356.0 KiB
#8 Accepted 3ms 384.0 KiB
#9 Accepted 6ms 368.0 KiB
#10 Accepted 5ms 384.0 KiB

信息

递交者
类型
递交
题目
P2010 回文日期
语言
C++
递交时间
2018-06-26 12:27:28
评测时间
2018-06-26 12:27:28
评测机
分数
100
总耗时
45ms
峰值内存
384.0 KiB