Wrong Answer

foo.cc: In function 'void fun(int, int)':
foo.cc:22:5: warning: unused variable 'i' [-Wunused-variable]
 int i;
     ^
foo.cc: In function 'int main()':
foo.cc:33:9: warning: unused variable 'i' [-Wunused-variable]
 int k=0,i,j,a;
         ^
foo.cc:33:11: warning: unused variable 'j' [-Wunused-variable]
 int k=0,i,j,a;
           ^
foo.cc:34:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%d",&n);
 ~~~~~^~~~~~~~~
foo.cc:35:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%d",&a);
 ~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1, expect {}. 2ms 384.0 KiB
#2 Wrong Answer Read 1, expect {}. 1ms 408.0 KiB

信息

递交者
类型
递交
题目
P1142 集合的子集
语言
C++
递交时间
2021-10-31 10:35:45
评测时间
2021-10-31 10:35:45
评测机
分数
0
总耗时
4ms
峰值内存
408.0 KiB