P1006-题解(C语言代码)满分题解!! 摘要: #include #include//0-670-82162-4 #include int main() { int a,b,d; …… 题解列表 2019年12月06日 0 点赞 0 评论 1326 浏览 评分:9.9
P1006 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,d,i,k; long sum; char IP[100]; get…… 题解列表 2019年02月14日 0 点赞 0 评论 1278 浏览 评分:9.9
P1006 (C++代码) 摘要:#include"bits/stdc++.h" using namespace std; int main() { string a; cin >> a; int len = a.s…… 题解列表 2018年08月05日 0 点赞 0 评论 1787 浏览 评分:9.9
解释很清晰的复杂思路(Python) 摘要:解题思路:(1)输入ISBN号码字符串string(2)根据数字Ascll码的范围分批将9位数字和1位识别码按列表和字符串存储(3)对存储9位数字的列表元素整数化处理,按照规则对元素计算加权和(4)对…… 题解列表 2024年11月29日 0 点赞 0 评论 338 浏览 评分:9.0
P1006 (C++代码) 摘要:解题思路:注意事项:参考代码:几种解法不同的代码:1.不需动脑的王牌代码,不需要字符串的对于初学者来说非常实用的一段代码。 #include<iostream> #include<cs…… 题解列表 2018年01月07日 9 点赞 1 评论 1289 浏览 评分:2.0
1273: ISBN码 摘要:解题思路:注意事项:参考代码:while True: try: s = input() s1 = "".join(s.split('-')…… 题解列表 2024年03月26日 0 点赞 0 评论 555 浏览 评分:0.0
Py1273-ISBN码-步骤清晰 摘要:yy,cbs,bh,ISBN=input().split('-')num=list(map(int,yy+cbs+bh))j&n…… 题解列表 2025年12月03日 0 点赞 0 评论 40 浏览 评分:0.0
ISBN码--string 摘要:解题思路:按位计算得到检验码,与之比较参考代码:#include<bits/stdc++.h> using namespace std; void solve(){ int sum = 0…… 题解列表 2024年03月24日 0 点赞 0 评论 290 浏览 评分:0.0
ISBN码(常规方法) 摘要:解题思路:注意事项:注意输入情况还有个最后一位是X的情况,没考虑到只有82分参考代码:变量设的有点多,可能有些难看懂#include<stdio.h> #include<string.h> int…… 题解列表 2024年11月13日 0 点赞 0 评论 341 浏览 评分:0.0
1273ISBN码,这题测试点就有问题 摘要:解题思路:注意事项:我这方法55分,真服了出题的人,案例是连续输入的,结果还卡了一个字符,我又把第一输入完的句末空格用getchar()吞了,结果还是不对,看别人题解都是TMD单输入一行,对应出结果,…… 题解列表 2024年12月24日 0 点赞 0 评论 384 浏览 评分:0.0