摘要: 原题 https://pintia.cn/problem-sets/994805260223102976/problems/994805297229447168 java代码 注意把scanner换成BufferedReader不会超时 import java.io.BufferedReader; 阅读全文
posted @ 2021-11-25 20:48 Infinite_V胜 阅读(40) 评论(0) 推荐(0)
摘要: 原题 https://pintia.cn/problem-sets/994805260223102976/problems/994805298269634560 代码 可能疏忽的地方。填入测试用例2 0 0 0 0 3 0 0 1 0 #include <iostream> #include <ve 阅读全文
posted @ 2021-11-25 13:37 Infinite_V胜 阅读(17) 评论(0) 推荐(0)
摘要: 原题 https://pintia.cn/problem-sets/994805260223102976/problems/994805299301433344 代码 #include <iostream> #include <vector> using namespace std; // char 阅读全文
posted @ 2021-11-25 12:49 Infinite_V胜 阅读(14) 评论(0) 推荐(0)
摘要: 原题 https://pintia.cn/problem-sets/994805260223102976/problems/994805300404535296 代码 #include <iostream> using namespace std; int result[10]={0};//存储0- 阅读全文
posted @ 2021-11-25 11:01 Infinite_V胜 阅读(16) 评论(0) 推荐(0)
摘要: 原题 https://pintia.cn/problem-sets/994805260223102976/problems/994805270914383872 代码 #include <iostream> using namespace std; int main() { char c; int 阅读全文
posted @ 2021-11-25 00:09 Infinite_V胜 阅读(24) 评论(0) 推荐(0)