/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:6:15: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  scanf("%d",&n);
               ^
/in/foo.cc:7:23: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  while(scanf("%d",&tmp)!=EOF) cp=(cp^(1<<(tmp-1)));
                       ^
/in/foo.cc:8:24: warning: format '%d' expects argument of type 'int', but argument 2 has type '__gnu_cxx::__enable_if<true, double>::__type {aka double}' [-Wformat=]
  printf("%d",log2(cp)+1);
                        ^
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 256.0 KiB
#2 Wrong Answer 2ms 256.0 KiB
#3 Wrong Answer 14ms 352.0 KiB
#4 Wrong Answer 5ms 336.0 KiB
#5 Wrong Answer 77ms 364.0 KiB

信息

递交者
类型
递交
题目
P1684 丢失的筷子
语言
C++
递交时间
2017-07-10 16:39:24
评测时间
2017-07-10 16:39:24
评测机
分数
0
总耗时
102ms
峰值内存
364.0 KiB