记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:18: warning: for increment expression has no effect [-Wunused-value]
     for(i=0;i++;i<n)
                 ~^~
/in/foo.cc:9:18: warning: for increment expression has no effect [-Wunused-value]
     for(i=0;i++;i<n+1)
                 ~^~~~
/in/foo.cc:10:22: warning: for increment expression has no effect [-Wunused-value]
       for(j=i+1;j++;j<n)
                     ~^~
/in/foo.cc:16:18: warning: for increment expression has no effect [-Wunused-value]
     for(i=0;i++;i<n)
                 ~^~
/in/foo.cc:18:18: warning: for increment expression has no effect [-Wunused-value]
     for(i=0;i++;i<n)
                 ~^~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 400.0 KiB
#2 Wrong Answer 1ms 272.0 KiB
#3 Wrong Answer 1ms 388.0 KiB
#4 Wrong Answer 1ms 400.0 KiB
#5 Wrong Answer 1ms 328.0 KiB

信息

递交者
类型
递交
题目
P1082 xf1-5排序与删除
语言
C++
递交时间
2021-09-01 10:14:30
评测时间
2021-09-01 10:14:30
评测机
分数
0
总耗时
8ms
峰值内存
400.0 KiB