/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void Cheng1(int (*)[4], int (*)[4])':
/in/foo.cc:133:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(j=1;j<=3;j++)
   ^~~
/in/foo.cc:136:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
    for(i=1;i<=3;i++)
    ^~~
/in/foo.cc: In function 'void KSM1(int)':
/in/foo.cc:165:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(i=1;i<=3;i++)
  ^~~
/in/foo.cc:169:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   for(i=0;(1ll<<i)<=x;i++)
   ^~~
/in/foo.cc: In function 'void CAL(int, int, int)':
/in/foo.cc:174:6: warning: unused variable 'i' [-Wunused-variable]
  int i,j;
      ^
/in/foo.cc:174:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j;
        ^
/in/foo.cc: In function 'void Cheng(int (*)[10], int (*)[10])':
/in/foo.cc:223:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(j=1;j<=9;j++)
   ^~~
/in/foo.cc:226:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
    for(i=1;i<=9;i++)
    ^~~
/in/foo.cc: In function 'int FIND(int, int, int)':
/in/foo.cc:391:6: warning: unused variable 'ans' [-Wunused-variable]
  int ans=0;
      ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:424:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   while(c=getchar())
                   ^
/in/foo.cc:424:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   while(c=getchar())
   ^~~~~
/in/foo.cc:426:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
    if(c=='q'){scanf("uery");l=Get_Int();r=Get_Int();
    ^~
# 状态 耗时 内存占用
#1 Accepted 1319ms 2.352 MiB
#2 Accepted 1845ms 2.375 MiB
#3 Accepted 2156ms 4.25 MiB
#4 Accepted 2848ms 33.48 MiB
#5 Accepted 3238ms 34.445 MiB
#6 Accepted 3936ms 66.836 MiB
#7 Accepted 4342ms 33.363 MiB
#8 Accepted 4380ms 34.5 MiB
#9 Accepted 4265ms 35.25 MiB
#10 Accepted 4133ms 65.945 MiB
#11 Accepted 4372ms 66.625 MiB
#12 Accepted 4507ms 66.836 MiB
#13 Accepted 4241ms 35.367 MiB
#14 Accepted 4579ms 66.344 MiB
#15 Accepted 4230ms 35.293 MiB
#16 Accepted 4101ms 33.289 MiB
#17 Accepted 4203ms 65.625 MiB
#18 Accepted 4285ms 66.117 MiB
#19 Accepted 4232ms 65.5 MiB
#20 Accepted 4503ms 66.125 MiB

信息

递交者
类型
递交
题目
P1958 音质检测
语言
C++
递交时间
2018-02-26 14:43:05
评测时间
2018-02-26 14:43:05
评测机
分数
100
总耗时
75724ms
峰值内存
66.836 MiB