记录详情

Accepted

foo.cc: In function 'int iset(int*, int, int*, int, int*)':
foo.cc:16:13: warning: unused variable 'i' [-Wunused-variable]
   16 |         int i=0,k=0;
      |             ^
foo.cc: In function 'int cp(int*, int, int*)':
foo.cc:26:1: warning: no return statement in function returning non-void [-Wreturn-type]
   26 | }
      | ^
foo.cc: In function 'int main()':
foo.cc:43:15: warning: 'memset' used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args]
   43 |         memset(h,sizeof(h),0);
      |         ~~~~~~^~~~~~~~~~~~~~~
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Accepted 2ms 536.0 KiB
#2 Accepted 2ms 536.0 KiB
#3 Accepted 3ms 540.0 KiB
#4 Accepted 2ms 320.0 KiB
#5 Accepted 2ms 536.0 KiB

信息

递交者
类型
递交
题目
P1041 A10-4 集合的交集
语言
C++
递交时间
2024-03-22 13:12:33
评测时间
2024-03-22 13:12:33
评测机
分数
100
总耗时
14ms
峰值内存
540.0 KiB