/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:25:15: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'LL* {aka long long int*}' [-Wformat=]
  scanf("%d",&k);
             ~~^
/in/foo.cc:4:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
/in/foo.cc:28:11: note: in expansion of macro 'mid'
   if (cnt(mid)>k) r=mid-1;
           ^~~
/in/foo.cc:4:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
/in/foo.cc:28:21: note: in expansion of macro 'mid'
   if (cnt(mid)>k) r=mid-1;
                     ^~~
/in/foo.cc:4:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
/in/foo.cc:29:10: note: in expansion of macro 'mid'
   else l=mid+1;
          ^~~
# 状态 耗时 内存占用
#1 Accepted 63ms 17.562 MiB
#2 Wrong Answer 46ms 16.32 MiB
#3 Wrong Answer 48ms 17.438 MiB
#4 Wrong Answer 67ms 17.805 MiB
#5 Wrong Answer 58ms 17.285 MiB
#6 Wrong Answer 74ms 17.051 MiB
#7 Wrong Answer 76ms 17.688 MiB
#8 Wrong Answer 63ms 18.07 MiB
#9 Wrong Answer 62ms 17.062 MiB
#10 Wrong Answer 62ms 18.055 MiB

信息

递交者
类型
递交
题目
P1889 天真的因数分解
语言
C++
递交时间
2018-10-31 14:36:51
评测时间
2018-10-31 14:36:51
评测机
分数
10
总耗时
625ms
峰值内存
18.07 MiB