Wrong Answer

foo.c:2:6: warning: return type of 'main' is not 'int' [-Wmain]
 void main(){
      ^~~~
foo.c: In function 'main':
foo.c:4:1: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%d",&n);
 ^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer User output longer than standard answer. 1ms 256.0 KiB
#2 Wrong Answer User output longer than standard answer. 0ms 288.0 KiB
#3 Wrong Answer User output longer than standard answer. 1ms 288.0 KiB
#4 Wrong Answer User output longer than standard answer. 1ms 256.0 KiB
#5 Wrong Answer User output longer than standard answer. 0ms 256.0 KiB

信息

递交者
类型
递交
题目
P1066 阶段测验2-3
语言
C
递交时间
2021-08-10 16:14:38
评测时间
2021-08-10 16:14:38
评测机
分数
0
总耗时
5ms
峰值内存
288.0 KiB