懵懂黄蜂

文章
5
资源
1
加入时间
2年10月17天

freemarker中遍历list获取索引值

<#list currentPathList as path> <#if path_index == 0> </#if> </#list> as 后面的那个变量,加上_index,就可以表示当前循环到第几项

Jump

Problem B:JumpTime Limit:1000MSMemory Limit:65536KTotal Submit:43Accepted:12Page View:297[Submit][Status][Clarify]Font Size: Aa Aa AaDescriptionThere is n pillars, their heights are