记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:24:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   24 |     printf("排序结果为:%d %d %d\n", num1, num2, num3);
      |     ^~~~~~
foo.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | int main() {
foo.c:24:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   24 |     printf("排序结果为:%d %d %d\n", num1, num2, num3);
      |     ^~~~~~
foo.c:24:5: note: include '<stdio.h>' or provide a declaration of 'printf'
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 排序结果为:5, expect 5. 1ms 284.0 KiB
#2 Wrong Answer Read 排序结果为:5, expect 5. 1ms 284.0 KiB
#3 Wrong Answer Read 排序结果为:5, expect 5. 1ms 284.0 KiB
#4 Wrong Answer Read 排序结果为:5, expect 5. 1ms 284.0 KiB
#5 Wrong Answer Read 排序结果为:5, expect 5. 1ms 284.0 KiB

信息

递交者
类型
递交
题目
A1-1 分支结构练习:三数排序
比赛
2023年新生赛(第一场)
语言
C
递交时间
2023-08-15 13:53:08
评测时间
2023-08-15 13:53:08
评测机
分数
0
总耗时
8ms
峰值内存
284.0 KiB