/ 拾陆人 /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:26:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=1;i<=n;i++)scanf("%d",&xx[i]);
              ~^~~
/in/foo.cc:26:40: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long unsigned int*}' [-Wformat=]
  for(int i=1;i<=n;i++)scanf("%d",&xx[i]);
                                        ^
/in/foo.cc:27:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=1;i<=n;i++)scanf("%d",&yy[i]);
              ~^~~
/in/foo.cc:27:40: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long unsigned int*}' [-Wformat=]
  for(int i=1;i<=n;i++)scanf("%d",&yy[i]);
                                        ^
/in/foo.cc:34:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long unsigned int*}' [-Wformat=]
   scanf("%d%d",&x,&y);
                     ^
/in/foo.cc:34:21: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long unsigned int*}' [-Wformat=]
/in/foo.cc:37:42: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long unsigned int}' [-Wformat=]
   if(yy[n]*x+xx[n]*y>=p2){printf("%d\n",n);continue;}
                                          ^
# 状态 耗时 内存占用
#1 Accepted 4ms 2.344 MiB
#2 Accepted 3ms 2.367 MiB
#3 Accepted 4ms 2.352 MiB
#4 Accepted 3ms 2.375 MiB
#5 Accepted 6ms 2.25 MiB
#6 Accepted 4ms 2.25 MiB
#7 Accepted 3ms 2.25 MiB
#8 Accepted 4ms 2.25 MiB
#9 Accepted 4ms 2.375 MiB
#10 Accepted 4ms 2.352 MiB
#11 Accepted 4ms 2.375 MiB
#12 Accepted 4ms 2.25 MiB
#13 Accepted 5ms 2.375 MiB
#14 Accepted 5ms 2.375 MiB
#15 Accepted 5ms 2.371 MiB
#16 Accepted 5ms 2.215 MiB
#17 Accepted 175ms 5.0 MiB
#18 Accepted 173ms 5.125 MiB
#19 Accepted 178ms 5.105 MiB
#20 Accepted 176ms 3.102 MiB

信息

递交者
类型
递交
题目
雷电法王——小铭
语言
C++
递交时间
2017-10-30 20:13:00
评测时间
2017-11-01 17:41:48
评测机
分数
100
总耗时
778ms
峰值内存
5.125 MiB