/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:31:17: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
    answer=answer+1<<i;
           ~~~~~~^~
foo.cc:11:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ~~~~~^~~~~~~~~
foo.cc:15:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&number[i]);
   ~~~~~^~~~~~~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 2ms 396.0 KiB
#2 Wrong Answer Read 274, expect 26. 2ms 400.0 KiB
#3 Wrong Answer Read 132133, expect 173. 2ms 400.0 KiB
#4 Wrong Answer Read 288239172781736485, expect 905501. 1ms 400.0 KiB
#5 Wrong Answer Read 72075194822312001, expect 404602689. 2ms 400.0 KiB
#6 Wrong Answer Read 1153062276488761481, expect 549991673. 1ms 436.0 KiB
#7 Wrong Answer Read 9007749279516707, expect 694209363. 2ms 396.0 KiB
#8 Wrong Answer Read 36064050381096010, expect 1073741822. 2ms 440.0 KiB
#9 Accepted 2ms 384.0 KiB
#10 Wrong Answer Read 36064050381096010, expect 2147483646. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1068 新年趣事之玩具
语言
C++
递交时间
2021-04-20 22:18:05
评测时间
2021-04-20 22:18:05
评测机
分数
20
总耗时
21ms
峰值内存
440.0 KiB