记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:17:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(j=k) j++;
      ~^~
foo.cc:11:10: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
  for(int i;i<n;i++) cin>>a[i];
          ^
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Time Exceeded ≥1103ms ≥472.0 KiB
#2 Time Exceeded ≥1099ms ≥452.0 KiB
#3 Time Exceeded ≥1025ms ≥464.0 KiB
#4 Runtime Error Segmentation fault 2ms 380.0 KiB
#5 Runtime Error Segmentation fault 2ms 448.0 KiB

信息

递交者
类型
递交
题目
2-4 点名上前
比赛
2020苏青奥赛集训营(2021-4-3假期作业)
语言
C++
递交时间
2021-04-05 10:52:14
评测时间
2021-04-05 10:52:14
评测机
分数
0
总耗时
3234ms
峰值内存
472.0 KiB