全部评论
100 50 10 80
我想问一下 多少分才不会挂?
100 100 100 30有希望进面吗
100 55 100 4.5
第四题数末尾0个数的,过了22,其他超时有一样的吗
第四题有大佬吗?
第四题求最多末尾0,感觉思路没问题,只过了4.5%,不知道哪错了 public class Main { private static int res = 0; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[][] help = new int[n][2]; for(int i=0;i<n;i++){ int num = sc.nextInt(); while(num%5 == 0){ help[i][0]++; num /= 5; } while(num%2 == 0){ help[i][1]++; num /= 2; } } backTrack(0,help,0,0,true); System.out.println(res); } private static void backTrack(int i,int[][]help,int num5,int num2,boolean canTake){ if(i == help.length){ res = Math.max(res,Math.min(num2,num5)); return; } backTrack(i+1,help,num2,num5,true); if(canTake){ backTrack(i+1,help,num5+help[i][0],num2+help[i][1],false); } } }
最后一题动归只过55,觉得思路没问题,就是过不了
有群吗
100 72 100 100
100 100 100 0
100,100,0,22😭
100 71 82 22
怎么有五题😮
95+72+9+4,后两题全是偷的分,害。。。
不是只有四题么
100,78,55,22😭
第二题人麻了,一直66.7,第三四题目没思路,有大佬能说一下么
相关推荐
书海为家:我来给一点点小建议,因为毕竟还在学校不像工作几年的老鸟有丰富的项目经验,面试官在面试在校生的时候更关注咱们同学的做事逻辑和思路,所以最好在简历中描述下自己做过项目的完整过程,比如需求怎么来的,你对需求的解读,你想到的解决办法,遇到困难如何找人求助,最终项目做成了什么程度,你从中收获了哪些技能,你有什么感悟。 点赞 评论 收藏
分享