记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:18:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   18 |         N = (int)malloc(sizeof(int)*(n1 + n2));
      |             ^
foo.c:18:11: warning: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
   18 |         N = (int)malloc(sizeof(int)*(n1 + n2));
      |           ^
foo.c:47:37: warning: comparison between pointer and integer
   47 |                         if ((N + j) == temp)
      |                                     ^~
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Wrong Answer Read 30, expect 29. 1ms 520.0 KiB
#2 Wrong Answer Read 298, expect 264. 1ms 320.0 KiB
#3 Wrong Answer Read 2635, expect 950. 4ms 324.0 KiB
#4 Wrong Answer Read 3857, expect 991. 8ms 288.0 KiB
#5 Wrong Answer Read 4995, expect 1000. 22ms 552.0 KiB

信息

递交者
类型
递交
题目
2-3 参赛人数
语言
C
递交时间
2024-03-19 14:01:48
评测时间
2024-03-19 14:01:48
评测机
分数
0
总耗时
38ms
峰值内存
552.0 KiB