记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:30:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(sta=end-1){
      ~~~^~~~~~
foo.cc:9:12: warning: unused variable 't' [-Wunused-variable]
  int n,s,e,t,sta,end;
            ^
foo.cc:10:9: warning: unused variable 'ans' [-Wunused-variable]
  double ans,res=1;
         ^~~
foo.cc:51:11: warning: 'e' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<a[e]<<endl;
           ^
foo.cc:50:11: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<a[s]<<endl;
           ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1, expect 27334. 2ms 396.0 KiB
#2 Wrong Answer Read 1, expect 44752. 2ms 392.0 KiB
#3 Wrong Answer 1,243147d0 < 1 < 2 < 3 < 1 3 < 455ms 728.0 KiB
#4 Wrong Answer Read 1, expect 57314. 447ms 784.0 KiB
#5 Wrong Answer Read 1, expect 57314. 563ms 728.0 KiB
#6 Runtime Error Segmentation fault 12ms 748.0 KiB
#7 Wrong Answer Read 1, expect 61495. 483ms 756.0 KiB
#8 Runtime Error Segmentation fault 11ms 696.0 KiB
#9 Wrong Answer Read 1, expect 35422. 439ms 696.0 KiB
#10 Wrong Answer Read 1, expect 39603. 437ms 720.0 KiB

信息

递交者
类型
递交
题目
P1033 隐形的翅膀
语言
C++
递交时间
2021-10-22 17:41:11
评测时间
2021-10-22 17:41:11
评测机
分数
0
总耗时
2855ms
峰值内存
784.0 KiB