记录详情

Wrong Answer

/in/foo.cc: In function 'void floyd(int (*)[110], int)':
/in/foo.cc:14:35: warning: 'sizeof' on array function parameter 'dist' will return size of 'int (*)[110]' [-Wsizeof-array-argument]
     memset(dist, 0x3f, sizeof(dist));
                                   ^
/in/foo.cc:12:33: note: declared here
 void floyd(int dist[MAX_N][MAX_N], int pt)
                                 ^
/in/foo.cc:14:30: 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]
     memset(dist, 0x3f, sizeof(dist));
                              ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:49:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
         printf("%d", ans);
                         ^
# 状态 耗时 内存占用
#1 Accepted 1ms 324.0 KiB
#2 Wrong Answer 1ms 208.0 KiB
#3 Accepted 1ms 204.0 KiB
#4 Wrong Answer 1ms 208.0 KiB
#5 Wrong Answer 1ms 200.0 KiB
#6 Wrong Answer 1ms 208.0 KiB
#7 Wrong Answer 1ms 328.0 KiB
#8 Wrong Answer 1ms 212.0 KiB
#9 Wrong Answer 1ms 204.0 KiB
#10 Wrong Answer 1ms 204.0 KiB
#11 Wrong Answer 1ms 332.0 KiB
#12 Wrong Answer 1ms 212.0 KiB
#13 Wrong Answer 1ms 328.0 KiB
#14 Wrong Answer 1ms 332.0 KiB
#15 Wrong Answer 1ms 200.0 KiB
#16 Wrong Answer 1ms 212.0 KiB
#17 Wrong Answer 2ms 332.0 KiB
#18 Wrong Answer 2ms 336.0 KiB
#19 Wrong Answer 2ms 332.0 KiB
#20 Wrong Answer 2ms 336.0 KiB
#21 Wrong Answer 2ms 328.0 KiB
#22 Wrong Answer 2ms 336.0 KiB
#23 Wrong Answer 2ms 332.0 KiB
#24 Wrong Answer 1ms 208.0 KiB
#25 Wrong Answer 1ms 204.0 KiB
#26 Wrong Answer 1ms 204.0 KiB
#27 Wrong Answer 1ms 328.0 KiB
#28 Wrong Answer 1ms 212.0 KiB
#29 Wrong Answer 1ms 328.0 KiB
#30 Wrong Answer 1ms 204.0 KiB
#31 Wrong Answer 1ms 328.0 KiB
#32 Wrong Answer 1ms 340.0 KiB
#33 Wrong Answer 1ms 332.0 KiB
#34 Wrong Answer 1ms 332.0 KiB
#35 Wrong Answer 1ms 328.0 KiB
#36 Wrong Answer 1ms 340.0 KiB
#37 Wrong Answer 1ms 328.0 KiB
#38 Wrong Answer 1ms 332.0 KiB
#39 Wrong Answer 1ms 332.0 KiB
#40 Wrong Answer 1ms 212.0 KiB
#41 Wrong Answer 3ms 332.0 KiB
#42 Wrong Answer 4ms 448.0 KiB
#43 Wrong Answer 3ms 320.0 KiB
#44 Wrong Answer 3ms 448.0 KiB
#45 Wrong Answer 4ms 448.0 KiB
#46 Wrong Answer 4ms 448.0 KiB
#47 Wrong Answer 4ms 428.0 KiB
#48 Wrong Answer 2ms 336.0 KiB
#49 Accepted 1ms 324.0 KiB
#50 Wrong Answer 1ms 200.0 KiB

信息

递交者
类型
递交
题目
3、运货
题目数据
下载
语言
C++
递交时间
2019-09-29 15:27:19
评测时间
2019-09-29 15:27:19
评测机
分数
30
总耗时
89ms
峰值内存
448.0 KiB