记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:15:2: warning: statement with no effect [-Wunused-value]
  for(i;i<n&&cnt==2;i+=2)
  ^~~
foo.c:9:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j=0,cnt=n;
        ^
foo.c:8:8: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  int n;scanf("%d",&n);
        ^~~~~~~~~~~~~~
foo.c:11:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&a[i]);
   ^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 1ms 256.0 KiB
#2 Wrong Answer Standard answer longer than user output. 1ms 256.0 KiB
#3 Wrong Answer Standard answer longer than user output. 1ms 256.0 KiB
#4 Wrong Answer Standard answer longer than user output. 1ms 256.0 KiB
#5 Wrong Answer Standard answer longer than user output. 1ms 256.0 KiB
#6 Wrong Answer Standard answer longer than user output. 1ms 256.0 KiB
#7 Wrong Answer Standard answer longer than user output. 1ms 256.0 KiB
#8 Wrong Answer Standard answer longer than user output. 1ms 256.0 KiB
#9 Wrong Answer Standard answer longer than user output. 1ms 256.0 KiB
#10 Wrong Answer Standard answer longer than user output. 1ms 256.0 KiB
#11 Wrong Answer Standard answer longer than user output. 4ms 384.0 KiB
#12 Wrong Answer Standard answer longer than user output. 2ms 384.0 KiB
#13 Wrong Answer Standard answer longer than user output. 2ms 384.0 KiB
#14 Wrong Answer Standard answer longer than user output. 2ms 256.0 KiB
#15 Wrong Answer Standard answer longer than user output. 18ms 840.0 KiB
#16 Wrong Answer Standard answer longer than user output. 22ms 1.023 MiB
#17 Wrong Answer Standard answer longer than user output. 7ms 532.0 KiB
#18 Wrong Answer Standard answer longer than user output. 4ms 384.0 KiB
#19 Wrong Answer Standard answer longer than user output. 3ms 256.0 KiB
#20 Wrong Answer Standard answer longer than user output. 9ms 592.0 KiB

信息

递交者
类型
递交
题目
P1297 D. Jabberwocky
比赛
南京师范大学2021年11月程序设计竞赛
语言
C
递交时间
2021-11-21 16:09:55
评测时间
2021-11-21 16:12:19
评测机
分数
0
总耗时
89ms
峰值内存
1.023 MiB