JavaShuo
栏目
标签
Codeforces Round #479 (Div. 3) A. Wrong Subtraction
时间 2021-01-04
栏目
CSS
繁體版
原文
原文链接
题目网址:http://codeforces.com/contest/977/problem/A 题解:给你一个数n,进行k次变换,从末尾开始-1,512变成511,511变成510,510会把0消掉。(看Note应该都能看懂的吧~) 方法:水题。。。把数字用字符串读入,遇到末尾为0的情况就把字符串长度-1,不然就-1。然后len<=0的情况就输出0(不知道为什么不用<0就可以过了,可能不
>>阅读原文<<
相关文章
1.
Codeforces Round #479 (Div. 3) Solution
2.
Codeforces Round #479 (Div. 3) 题解
3.
codeforces A. Wrong Subtraction
4.
Codeforces Round #479 (Div. 3) C. Less or Equal
5.
Codeforces Round #479 (Div. 3) B. Two-gram
6.
Codeforces Round #644 (Div. 3)(A~G)
7.
Codeforces Round #650 (Div. 3)(A-C)
8.
Codeforces Round #590 (Div. 3)
9.
Codeforces Round #656 (Div. 3)
10.
Codeforces Round #565 (Div. 3)
更多相关文章...
•
PHP round() 函数
-
PHP参考手册
•
SQL ROUND() 函数
-
SQL 教程
•
为了进字节跳动,我精选了29道Java经典算法题,带详细讲解
•
Docker容器实战(七) - 容器眼光下的文件系统
相关标签/搜索
wrong
subtraction
div.3
codeforces
3&&a
3.a
div
a'+'a
CSS
PHP 7 新特性
Spring教程
MyBatis教程
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
【Java8新特性_尚硅谷】P1_P5
2.
SpringSecurity 基础应用
3.
SlowFast Networks for Video Recognition
4.
074-enable-right-click
5.
WindowFocusListener窗体焦点监听器
6.
DNS部署(二)DNS的解析(正向、反向、双向、邮件解析及域名转换)
7.
Java基础(十九)集合(1)集合中主要接口和实现类
8.
浏览器工作原理学习笔记
9.
chrome浏览器构架学习笔记
10.
eclipse引用sun.misc开头的类
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
1.
Codeforces Round #479 (Div. 3) Solution
2.
Codeforces Round #479 (Div. 3) 题解
3.
codeforces A. Wrong Subtraction
4.
Codeforces Round #479 (Div. 3) C. Less or Equal
5.
Codeforces Round #479 (Div. 3) B. Two-gram
6.
Codeforces Round #644 (Div. 3)(A~G)
7.
Codeforces Round #650 (Div. 3)(A-C)
8.
Codeforces Round #590 (Div. 3)
9.
Codeforces Round #656 (Div. 3)
10.
Codeforces Round #565 (Div. 3)
>>更多相关文章<<