记录详情

Accepted

foo.c: In function 'main':
foo.c:5:2: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
  scanf("%d %d", &n, &sum);
  ^~~~~
foo.c:5:2: warning: incompatible implicit declaration of built-in function 'scanf'
foo.c:5:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
foo.c:25:2: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
  printf("%d", count);
  ^~~~~~
foo.c:25:2: warning: incompatible implicit declaration of built-in function 'printf'
foo.c:25:2: note: include '<stdio.h>' or provide a declaration of 'printf'
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 640.0 KiB
#2 Accepted 1ms 640.0 KiB
#3 Accepted 8ms 672.0 KiB
#4 Accepted 94ms 704.0 KiB
#5 Accepted 784ms 700.0 KiB

信息

递交者
类型
递交
题目
6-1 和为定值的数对
比赛
2021年新生赛第三场
语言
C
递交时间
2021-09-05 18:12:46
评测时间
2021-09-05 18:12:46
评测机
分数
100
总耗时
890ms
峰值内存
704.0 KiB