记录详情

Time Exceeded

foo.cc: In function 'void move(int*, int, int)':
foo.cc:8:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
    8 |   if(i=x)
      |      ~^~
foo.cc:9:14: warning: unused variable 'b' [-Wunused-variable]
    9 |          int b=a[i];
      |              ^
foo.cc:14:7: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
   14 |   a[1]=b;
      |   ~~~~^~
foo.cc: In function 'int main()':
foo.cc:14:7: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
   14 |   a[1]=b;
      |   ~~~~^~
foo.cc:5:6: note: 'b' was declared here
    5 |  int b;
      |      ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1100ms ≥640.0 KiB
#2 Time Exceeded ≥1099ms ≥768.0 KiB
#3 Time Exceeded ≥1100ms ≥764.0 KiB
#4 Time Exceeded ≥1097ms ≥640.0 KiB
#5 Time Exceeded ≥1100ms ≥896.0 KiB

信息

递交者
类型
递交
题目
2-4 点名上前
比赛
2022暑期青少年社团(入门赛)
语言
C++
递交时间
2022-07-28 19:37:56
评测时间
2022-07-28 19:37:56
评测机
分数
0
总耗时
≥5499ms
峰值内存
≥896.0 KiB