记录详情

Compile Error

foo.c:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include
          ^
foo.c: In function 'main':
foo.c:7:2: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
  scanf("%d",&time);
  ^~~~~
foo.c:7:2: warning: incompatible implicit declaration of built-in function 'scanf'
foo.c:7:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
foo.c:14:2: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
  printf("%d:%d:%d",hr,min,sec);
  ^~~~~~
foo.c:14:2: warning: incompatible implicit declaration of built-in function 'printf'
foo.c:14:2: note: include '<stdio.h>' or provide a declaration of 'printf'
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。

信息

递交者
类型
递交
题目
小时分钟秒
比赛
Python基础习题第1部分
语言
C
递交时间
2021-03-18 19:55:51
评测时间
2021-03-18 19:55:51
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes