记录详情

Accepted

foo.c: In function 'main':
foo.c:5:2: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    5 |  scanf("%d", &d);
      |  ^~~~~
foo.c:5:2: warning: incompatible implicit declaration of built-in function 'scanf'
foo.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | void SetInter(int a[], int b[], int c, int d);
foo.c:21:2: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   21 |  printf("\n");
      |  ^~~~~~
foo.c:21:2: warning: incompatible implicit declaration of built-in function 'printf'
foo.c:21:2: note: include '<stdio.h>' or provide a declaration of 'printf'
foo.c: In function 'SetInter':
foo.c:39:5: warning: incompatible implicit declaration of built-in function 'printf'
   39 |     printf("%d ", a[i]);
      |     ^~~~~~
foo.c:39:5: note: include '<stdio.h>' or provide a declaration of 'printf'
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 512.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
A10-4 集合的交集
比赛
南师大2021程序设计基础课程第三次测验 (2021-12-9)
语言
C
递交时间
2021-12-09 14:35:09
评测时间
2021-12-09 14:35:09
评测机
分数
100
总耗时
12ms
峰值内存
512.0 KiB