/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:29:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
             if(nums[tmp.num]==0)
             ^~
/in/foo.cc:31:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    nums[tmp.num]++;
    ^~~~
/in/foo.cc:17:19: warning: unused variable 'curg' [-Wunused-variable]
     int curt,curn,curg;
                   ^~~~
/in/foo.cc:18:9: warning: unused variable 'last' [-Wunused-variable]
     int last=0;
         ^~~~
/in/foo.cc:20:9: warning: unused variable 'it' [-Wunused-variable]
     int it;
         ^~
# 状态 耗时 内存占用
#1 Accepted 2ms 808.0 KiB
#2 Accepted 1ms 808.0 KiB
#3 Accepted 1ms 760.0 KiB
#4 Accepted 1ms 720.0 KiB
#5 Accepted 1ms 716.0 KiB
#6 Accepted 1ms 724.0 KiB
#7 Accepted 1ms 764.0 KiB
#8 Accepted 1ms 716.0 KiB
#9 Accepted 2ms 824.0 KiB
#10 Accepted 2ms 712.0 KiB
#11 Accepted 2ms 720.0 KiB
#12 Accepted 2ms 716.0 KiB
#13 Accepted 2ms 724.0 KiB
#14 Accepted 2ms 724.0 KiB
#15 Accepted 61ms 876.0 KiB
#16 Accepted 61ms 876.0 KiB
#17 Accepted 64ms 856.0 KiB
#18 Accepted 61ms 804.0 KiB
#19 Accepted 62ms 872.0 KiB
#20 Accepted 61ms 800.0 KiB

信息

递交者
类型
递交
题目
P2011 海港
语言
C++
递交时间
2023-05-13 12:04:45
评测时间
2023-05-13 12:04:45
评测机
分数
100
总耗时
403ms
峰值内存
876.0 KiB