System Error

/in/foo.cc: In function 'bool bh(int, int*)':
/in/foo.cc:8:30: warning: 'sizeof' on array function parameter 'b' will return size of 'int*' [-Wsizeof-array-argument]
    8 |         for(int i=0;i<sizeof(b);i++)
      |                             ~^~
/in/foo.cc:6:19: note: declared here
    6 | bool bh(int a,int b[100000])
      |               ~~~~^~~~~~~~~
/in/foo.cc:8:22: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
    8 |         for(int i=0;i<sizeof(b);i++)
      |                     ~^~~~~~~~~~
VJ4Error('ProblemDataNotFoundError', '题目 1048 的数据未找到。', 'nnu_contest', 1048)

信息

递交者
类型
递交
题目
P1147 OO11-1 vector<int>中的查找删除
语言
C++
递交时间
2025-10-09 23:30:02
评测时间
2025-10-09 23:30:02
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes