/ BCC /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:23:8: warning: unused variable 'p' [-Wunused-variable]
   23 |  int n,p;
      |        ^
foo.cc:24:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   24 |  scanf("%d",&n);
      |  ~~~~~^~~~~~~~~
foo.cc:31:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   31 |    scanf("%d",&x);
      |    ~~~~~^~~~~~~~~
foo.cc:56:10: warning: 'bian' may be used uninitialized in this function [-Wmaybe-uninitialized]
   56 |   s[++ll]=bian;
      |   ~~~~~~~^~~~~
Found 7 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 384.0 KiB
#2 Wrong Answer Read 6, expect 1. 6ms 384.0 KiB
#3 Accepted 6ms 384.0 KiB
#4 Accepted 4ms 384.0 KiB
#5 Wrong Answer Read 35, expect 20. 4ms 512.0 KiB
#6 Wrong Answer Read 100, expect 20. 4ms 384.0 KiB
#7 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
家谱树
语言
C++
递交时间
2022-03-31 22:31:07
评测时间
2022-03-31 22:31:07
评测机
分数
57
总耗时
34ms
峰值内存
512.0 KiB