记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:32:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 if(k=maxk){
    ~^~~~~
foo.cc:33:6: warning: unused variable 'b' [-Wunused-variable]
  int b=k;max2=a[j]; 
      ^
foo.cc:38:15: warning: 'max2' may be used uninitialized in this function [-Wmaybe-uninitialized]
 cout<<max<<" "<<max2;
 ~~~~~~~~~~~~~~^~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Wrong Answer User output longer than standard answer. 2ms 404.0 KiB
#2 Wrong Answer Standard answer longer than user output. 2ms 384.0 KiB
#3 Wrong Answer Standard answer longer than user output. 2ms 416.0 KiB
#4 Wrong Answer Standard answer longer than user output. 2ms 424.0 KiB
#5 Wrong Answer Standard answer longer than user output. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
5-5 统计素数因子
语言
C++
递交时间
2021-04-07 14:40:41
评测时间
2021-04-07 14:40:41
评测机
分数
0
总耗时
10ms
峰值内存
424.0 KiB