题解列表
特殊回文数python
摘要:解题思路:注意事项:参考代码:def hui(n): if str(n)==str(n)[::-1]: return 1 else: return 0n = i……
第二大整数——python
摘要:解题思路:注意事项:参考代码:L = list(map(int,input().split()))L1 = []for i in L: if i == 0: break el……
编写题解 2912: 最长平台
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n; scanf("%d",&n); int a[n]; for(int i=0;i<n;i++){ ……
检查一个数是否为质数
摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;bool is_prime(int x){ if(x < 2)return false……
python的测试数据有问题(AC蓝桥官网)
摘要:解题思路:注意事项:在本地跑出来的结果和测评的结果数据不一样,此题py数据处理有问题参考代码:t=int(input())byte=0for _ in range(t): s=input() ……
我又来了!堆优化版py代码(AC蓝桥官网)题目数据有点问题
摘要:解题思路:注意事项:应该是有一个数据在输入u,v,c的时候少了一项,所以报错参考代码:import heapqn,m=map(int,input().split())t=[0]+list(map(in……