记录详情

Wrong Answer

foo.c: In function 'SetInter':
foo.c:15:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   15 |    { for(t=j; t<k ;t++)
      |      ^~~
foo.c:17:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   17 |      j--;
      |      ^
foo.c:20:2: warning: statement with no effect [-Wunused-value]
   20 |  for(i+0; i<k ;i+1)
      |  ^~~
foo.c:20:17: warning: statement with no effect [-Wunused-value]
   20 |  for(i+0; i<k ;i+1)
      |                ~^~
foo.c: In function 'main':
foo.c:26:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   26 |   scanf("%d %d %d",&n1,&n2,&n3);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:28:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   28 |   scanf("%d",&a1[i]);
      |   ^~~~~~~~~~~~~~~~~~
foo.c:30:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   30 |   scanf("%d",&a2[i]);
      |   ^~~~~~~~~~~~~~~~~~
foo.c:32:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   32 |   scanf("%d",&a3[i]);
      |   ^~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 0a1,2 > 3 4 5 1 7 > 3 4 5 1 2ms 512.0 KiB
#2 Wrong Answer 0a1,2 > 3 4 5 1 2 8 9 6 7 > 2ms 384.0 KiB
#3 Wrong Answer 0a1,2 > 3 4 5 1 2 8 9 6 7 > 1ms 384.0 KiB
#4 Wrong Answer 0a1,2 > 12 14 13 15 3 4 5 1 2 1ms 384.0 KiB
#5 Wrong Answer 0a1,2 > 5 7 1 6 10 3 12 14 13 1ms 384.0 KiB

信息

递交者
类型
递交
题目
A10-5 集合的并集
比赛
2022春 C语言课程设计 作业2
语言
C
递交时间
2022-03-30 12:02:06
评测时间
2022-03-30 12:02:06
评测机
分数
0
总耗时
9ms
峰值内存
512.0 KiB