题目链接:http://codeforces.com/contest/779/problem/B
题意:给你一个数s,再给你一个整数k,为你最少删除s的几位数使得s能够整除10^k
解析:分两种情况,如果s的零的个数小于k,那么直接输出len(s)-1,否则从s的后面往前扫,维护一下答案即可
题目链接:http://codeforces.com/contest/779/problem/B
题意:给你一个数s,再给你一个整数k,为你最少删除s的几位数使得s能够整除10^k
解析:分两种情况,如果s的零的个数小于k,那么直接输出len(s)-1,否则从s的后面往前扫,维护一下答案即可
A. Roundingtime limit per test1 secondmemory limit per
项目运行了三年了,流水表主表数据已经达到4kw以上所以最近项目开始时不时的出现问题,主要体现在以下方面:1.客户端经常出现查询超时。 1.1 mybatis分页查询出现问题。 1.2 项目里面一些统计或者趋势图开始出现问题 &
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M