进制 #include<iostream> #include<math.h> #define ll long long using namespace std; ll r,store[100010]; void pp(ll n) { r=0; while(n!=0){ store[r++]=n%3; ...
分类:
其他好文 时间:
2019-12-22 18:49:53
阅读次数:
80
Description A message containing letters from A-Z is being encoded to numbers using the following mapping way: 'A' -> 1 'B' -> 2 ... 'Z' -> 26 Beyond ...
分类:
其他好文 时间:
2019-12-21 22:41:47
阅读次数:
103
Description Description A message containing letters from A-Z is being encoded to numbers using the following mapping: 'A' -> 1 'B' -> 2 ... 'Z' -> 26 ...
分类:
其他好文 时间:
2019-12-21 22:40:11
阅读次数:
101
链接: https://codeforces.com/contest/1278/problem/A 题意: Polycarp has built his own web service. Being a modern web service it includes login feature. An ...
分类:
其他好文 时间:
2019-12-21 11:51:24
阅读次数:
180
一、求以下表达式的值,写出您想到的一种或几种实现方法: 1-2+3-4+……+m //方法一,通过顺序规律写程序,同时也知道flag标志位的重要性。 二,有一个字符串 "I am a good man",设计一个函数,返回 "man good a am I"。 三.有1、2、3、4个数字,能组成多少 ...
分类:
编程语言 时间:
2019-12-20 20:53:45
阅读次数:
101
WITH RECURSIVE result ( id, GoodsTypeName, parentid) AS ( SELECT id, GoodsTypeName, parentid FROM goodstype WHERE id = 2 UNION ALL SELECT i.id, i.Good ...
分类:
数据库 时间:
2019-12-19 13:15:46
阅读次数:
112
1.26个字母大小写成对打印,例如:Aa,Bb...... 2.一个list包含10个数字,然后生成一个新的list,要求新的list里面的数都比之前的数多1 3.倒序取出每个单词的第一个字母,例如:I am a good boy! 方法1 方法2 4.输入一个自己的生日月份,用if和else判断一 ...
分类:
编程语言 时间:
2019-12-18 22:11:29
阅读次数:
92
1)代码如下: 1 1 # This program says hello and asks for my name. 2 2 myName = input("What is your name?") 3 3 print('it is good to meet you,'+myName) #ask ...
分类:
编程语言 时间:
2019-12-18 14:33:25
阅读次数:
59
1.使用批量新增和批量修改 java接口: //批量新增 int batchInsertGoods(List<Goods> list); //批量修改 int batchUpdateGoodsByIds(List<Map<String, Object>> list); //根据ids批量获取Good ...
分类:
其他好文 时间:
2019-12-17 22:38:56
阅读次数:
118
A message containing letters from A-Z is being encoded to numbers using the following mapping: 'A' -> 1 'B' -> 2 ... 'Z' -> 26 Given a non-empty strin ...
分类:
其他好文 时间:
2019-12-16 10:17:31
阅读次数:
122