/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int getint()':
/in/foo.cc:39:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
     while((c<'0' || c>'9') && c!='-') c=getchar(); if(c=='-') q=1,c=getchar(); 
     ^~~~~
/in/foo.cc:39:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
     while((c<'0' || c>'9') && c!='-') c=getchar(); if(c=='-') q=1,c=getchar(); 
                                                    ^~
/in/foo.cc:40:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
     while (c>='0' && c<='9') w=w*10+c-'0', c=getchar(); return q ? -w : w;
     ^~~~~
/in/foo.cc:40:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
     while (c>='0' && c<='9') w=w*10+c-'0', c=getchar(); return q ? -w : w;
                                                         ^~~~~~
/in/foo.cc: In function 'void work()':
/in/foo.cc:61:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(int i=0;i<3;i++) for(int j=0;j<3;j++) ini.s[i][j]=0; for(int i=0;i<3;i++) dan.s[i][i]=1; jian=dan; ans.s[0][0]=ans.s[0][2]=1;
     ^~~
/in/foo.cc:61:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
     for(int i=0;i<3;i++) for(int j=0;j<3;j++) ini.s[i][j]=0; for(int i=0;i<3;i++) dan.s[i][i]=1; jian=dan; ans.s[0][0]=ans.s[0][2]=1;
                                                              ^~~
# 状态 耗时 内存占用
#1 Accepted 8ms 2.309 MiB
#2 Accepted 2ms 2.199 MiB
#3 Accepted 2ms 2.312 MiB
#4 Accepted 2ms 2.309 MiB
#5 Accepted 2ms 2.324 MiB
#6 Accepted 2ms 2.309 MiB
#7 Accepted 2ms 2.312 MiB
#8 Accepted 2ms 2.32 MiB
#9 Accepted 2ms 2.266 MiB
#10 Accepted 2ms 2.309 MiB
#11 Accepted 4ms 2.328 MiB
#12 Accepted 2ms 2.309 MiB
#13 Accepted 2ms 2.316 MiB
#14 Accepted 5ms 4.949 MiB
#15 Accepted 7ms 3.059 MiB
#16 Accepted 2ms 2.309 MiB
#17 Accepted 2ms 2.336 MiB
#18 Accepted 4ms 4.184 MiB
#19 Accepted 83ms 12.812 MiB
#20 Accepted 124ms 31.344 MiB

信息

递交者
类型
递交
题目
P1722 兔农
语言
C++
递交时间
2018-12-02 20:56:13
评测时间
2018-12-02 20:56:13
评测机
分数
100
总耗时
269ms
峰值内存
31.344 MiB