记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:34:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
    while(M[rec1][Y1]==M[X1][Y1]&&rec1>=1)rec1--;rec1++;
    ^~~~~
/in/foo.cc:34:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
    while(M[rec1][Y1]==M[X1][Y1]&&rec1>=1)rec1--;rec1++;
                                                 ^~~~
/in/foo.cc:35:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
    while(M[rec2][Y1]==M[X1][Y1]&&rec2<=n)rec2++;rec2--;
    ^~~~~
/in/foo.cc:35:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
    while(M[rec2][Y1]==M[X1][Y1]&&rec2<=n)rec2++;rec2--;
                                                 ^~~~
/in/foo.cc:48:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
    while(M[rec1][Y2]==M[X2][Y2]&&rec1>=1)rec1--; rec1++;
    ^~~~~
/in/foo.cc:48:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
    while(M[rec1][Y2]==M[X2][Y2]&&rec1>=1)rec1--; rec1++;
                                                  ^~~~
/in/foo.cc:49:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
    while(M[rec2][Y2]==M[X2][Y2]&&rec2<=n)rec2++; rec2--;
    ^~~~~
/in/foo.cc:49:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
    while(M[rec2][Y2]==M[X2][Y2]&&rec2<=n)rec2++; rec2--;
                                                  ^~~~
/in/foo.cc:82:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
    while(M[X2][rec1]==M[X2][Y2]&&rec1>=1)rec1--; rec1++;
    ^~~~~
/in/foo.cc:82:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
    while(M[X2][rec1]==M[X2][Y2]&&rec1>=1)rec1--; rec1++;
                                                  ^~~~
/in/foo.cc:83:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
    while(M[X2][rec2]==M[X2][Y2]&&rec2<=m)rec2++; rec2--;
    ^~~~~
/in/foo.cc:83:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
    while(M[X2][rec2]==M[X2][Y2]&&rec2<=m)rec2++; rec2--;
                                                  ^~~~
/in/foo.cc:94:22: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
   printf("%lld\n",ans);
                      ^
# 状态 耗时 内存占用
#1 Accepted 8ms 1.184 MiB
#2 Accepted 2ms 332.0 KiB
#3 Accepted 2ms 316.0 KiB
#4 Accepted 2ms 316.0 KiB
#5 Accepted 2ms 332.0 KiB
#6 Accepted 9ms 1.18 MiB
#7 Accepted 7ms 1.184 MiB
#8 Accepted 6ms 972.0 KiB
#9 Accepted 4ms 1.059 MiB
#10 Accepted 8ms 1.184 MiB

信息

递交者
类型
递交
题目
3、钻石游戏
题目数据
下载
语言
C++
递交时间
2018-10-26 11:12:27
评测时间
2018-10-26 11:12:27
评测机
分数
100
总耗时
53ms
峰值内存
1.184 MiB