/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'void arrAssign(int*, std::string)':
foo.cc:30:17: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
   30 |  memset(num, 0, sizeof(num));
      |                 ^~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 512.0 KiB
#2 Accepted 2ms 396.0 KiB
#3 Accepted 4ms 384.0 KiB
#4 Wrong Answer Read 825, expect 1. 2ms 512.0 KiB
#5 Wrong Answer Read 103235339, expect 125457539. 4ms 512.0 KiB
#6 Wrong Answer Read 6495487, expect 1610020999143210.... 2ms 384.0 KiB
#7 Wrong Answer Read 2553030672149239..., expect 1710261812639684.... 4ms 384.0 KiB
#8 Wrong Answer Read 8191818080590178..., expect 1041404030281240.... 4ms 512.0 KiB
#9 Wrong Answer Read 5495487, expect 1055206638295797.... 3ms 384.0 KiB
#10 Wrong Answer Read 2684112002694811..., expect 9063342249170339.... 6ms 384.0 KiB

信息

递交者
类型
递交
题目
P1095 约瑟夫问题10E100版
语言
C++
递交时间
2022-04-26 14:58:01
评测时间
2022-04-26 14:58:01
评测机
分数
30
总耗时
40ms
峰值内存
512.0 KiB