【leetcode_easy_array】1295. Find Numbers with Even Number of Digits

problem

1295. Find Numbers with Even Number of Digits

solution1: 计算数据的位数;

code:

 

solution2: 根据数据范围确定数据位数;

code:

 

参考

1. leetcode_1295. Find Numbers with Even Number of Digits;

posted on 2020-07-15 23:01  鹅要长大  阅读(109)  评论(0编辑  收藏  举报

导航