/ Vijos /

记录详情

Accepted

foo.cpp: In function 'matrix Jie(long long int, long long int, int&, int&, long long int)':
foo.cpp:90:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
        if (x1<0) x1+=p;if (x2<0) x2+=p;
        ^~
foo.cpp:90:24: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
        if (x1<0) x1+=p;if (x2<0) x2+=p;
                        ^~
foo.cpp: In function 'void Work()':
foo.cpp:108:21: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
      memset(flag,0,k+1<<2);
                    ~^~
foo.cpp: In function 'int main()':
foo.cpp:158:31: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
     scanf("%I64d%d%d",&n,&k,&p);
                               ^
# 状态 耗时 内存占用
#1 Accepted 0ms 16.254 MiB
#2 Accepted 0ms 16.254 MiB
#3 Accepted 0ms 16.254 MiB
#4 Accepted 0ms 16.258 MiB
#5 Accepted 15ms 16.254 MiB
#6 Accepted 0ms 16.258 MiB
#7 Accepted 0ms 16.254 MiB
#8 Accepted 0ms 16.262 MiB
#9 Accepted 0ms 16.258 MiB
#10 Accepted 0ms 16.254 MiB
#11 Accepted 0ms 16.254 MiB
#12 Accepted 15ms 16.262 MiB
#13 Accepted 0ms 16.254 MiB
#14 Accepted 15ms 16.254 MiB
#15 Accepted 15ms 16.25 MiB
#16 Accepted 0ms 16.25 MiB
#17 Accepted 0ms 16.254 MiB
#18 Accepted 15ms 16.262 MiB
#19 Accepted 78ms 16.258 MiB
#20 Accepted 171ms 16.254 MiB

信息

递交者
类型
递交
题目
P1722 兔农
语言
C++
递交时间
2012-09-20 21:09:51
评测时间
2017-03-12 02:47:14
评测机
分数
100
总耗时
324ms
峰值内存
16.262 MiB