/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:10:30: warning: unused variable 'h' [-Wunused-variable]
     int  head1,back2,i,n,k,j,h;
                              ^
foo.cc:11:10: warning: unused variable 'head' [-Wunused-variable]
     char head,back,a[50];
          ^~~~
foo.cc:12: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:17:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%c",&a[i]);
         ~~~~~^~~~~~~~~~~~
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Wrong Answer 读取到 ,应为 ceghi 1ms 384.0 KiB
#2 Wrong Answer 读取到 ,应为 defijn 1ms 352.0 KiB
#3 Wrong Answer 读取到 ,应为 bdefhijn 1ms 384.0 KiB
#4 Wrong Answer 读取到 ,应为 fhijmprs 1ms 384.0 KiB
#5 Wrong Answer 读取到 ,应为 efhijmpqtv 1ms 384.0 KiB
#6 Wrong Answer 读取到 ,应为 efhijklmpqstuv 1ms 384.0 KiB
#7 Wrong Answer 读取到 ,应为 efhijklmpqrtux 1ms 384.0 KiB
#8 Wrong Answer 读取到 ,应为 dfghijklmopqrtuvx 1ms 384.0 KiB
#9 Wrong Answer 读取到 ,应为 cdfghijklmopqstuvwx 1ms 384.0 KiB
#10 Wrong Answer 读取到 ,应为 bdef 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1318 Jam的计数法
语言
C++
递交时间
2020-12-01 07:45:16
评测时间
2020-12-01 07:45:16
评测机
分数
0
总耗时
16ms
峰值内存
384.0 KiB