Python has ways to convert any value to a string: pass it to the repr() or str() functions. 这两者都是将值转变为string类型,但是有区别: str()得到的string类型变量会执行转义等命令,而repr ...
分类:
其他好文 时间:
2018-06-18 14:28:06
阅读次数:
190
#include<stdio.h> // std 标准 io > input output 输入 输出 printf scanf getchar ...... #include<stdlib.h> // system libary库 //预处理命令 可以当做注释用#if 0 //#if 条件 如果调 ...
分类:
编程语言 时间:
2018-06-18 13:57:22
阅读次数:
398
C. Two Squares time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given two squares, ...
分类:
其他好文 时间:
2018-06-17 16:59:08
阅读次数:
218
B. Knights of a Polygonal Table time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Unlike Kn ...
分类:
其他好文 时间:
2018-06-17 10:59:20
阅读次数:
306
A Mist of Florescence 题目大意: 事先告诉你每种颜色分别有几个联通块,构造一个不超过 $50 50$ 的矩形。用 $A,B,C,D$ 四种颜色来对矩形进行涂色使它满足要求。 每种颜色联通块不超过 $100$ Examples input 5 3 2 1 output 4 7 D ...
分类:
其他好文 时间:
2018-06-12 20:55:29
阅读次数:
173
C. Watto and Mechanism time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output Watto, the owner ...
分类:
其他好文 时间:
2018-06-12 19:35:50
阅读次数:
200
D. Fair time limit per test 2 seconds memory limit per test 512 megabytes input standard input output standard output Some company is going to hold a ...
分类:
其他好文 时间:
2018-06-12 16:08:55
阅读次数:
165
C. A Mist of Florescence time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. A Mist of Flo ...
分类:
其他好文 时间:
2018-06-12 11:42:27
阅读次数:
410
D. Buy a Ticket time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Musicians of a popular b ...
分类:
其他好文 时间:
2018-06-12 00:12:49
阅读次数:
200
Given an integer array, you need to find one continuous subarray that if you only sort this subarray in ascending order, then the whole array will be ...
分类:
其他好文 时间:
2018-06-08 00:49:56
阅读次数:
178