记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:4:30: warning: unused variable 'h' [-Wunused-variable]
     int  head1,back2,i,n,k,j,h;
                              ^
foo.cc:5:10: warning: unused variable 'head' [-Wunused-variable]
     char head,back,a[50];
          ^~~~
foo.cc:6:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d %d %d",&head1,&back2,&n);
     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:10:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%c",&a[i]);
         ~~~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read c, expect ceghi. 1ms 384.0 KiB
#2 Wrong Answer Read d, expect defijn. 2ms 384.0 KiB
#3 Wrong Answer Read b, expect bdefhijn. 2ms 384.0 KiB
#4 Wrong Answer Read f, expect fhijmprs. 2ms 384.0 KiB
#5 Wrong Answer Read e, expect efhijmpqtv. 1ms 384.0 KiB
#6 Wrong Answer Read e, expect efhijklmpqstuv. 1ms 384.0 KiB
#7 Wrong Answer Read e, expect efhijklmpqrtux. 1ms 384.0 KiB
#8 Wrong Answer Read d, expect dfghijklmopqrtuvx. 2ms 384.0 KiB
#9 Wrong Answer Read c, expect cdfghijklmopqstuvwx. 2ms 384.0 KiB
#10 Wrong Answer Read b, expect bdef. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1026 Jam的计数法
语言
C++
递交时间
2021-09-12 19:11:55
评测时间
2021-09-12 21:01:14
评测机
分数
0
总耗时
20ms
峰值内存
384.0 KiB