Besides the ordinary Boy Friend and Girl Friend, here we define a more academic kind of friend: Prime Friend. We call a nonnegative integer A is the i ...
分类:
其他好文 时间:
2020-01-15 12:15:50
阅读次数:
108
我这里使用的是vs2013 希望可以帮助到大家 第一个文件 MyString.h #pragma once #define _CRT_SECURE_NO_WARNINGS #include<iostream> using namespace std; class MyString{ friend o ...
分类:
编程语言 时间:
2020-01-14 17:49:55
阅读次数:
114
请看程序: 1 #include <stdio.h> 2 class Complex 3 { 4 int a; 5 int b; 6 public: 7 Complex(int a,int b) 8 { 9 this->a = a; 10 this->b = b 11 } 12 friend Com ...
分类:
其他好文 时间:
2020-01-10 15:43:10
阅读次数:
101
1. count:返回集合中文档的数量。 db.friend.count() db.friend.count({'age':24}) 增加查询条件会使count查询变慢。 2. distinct:找出给定键的所有不同的值。 使用时必须指定集合和键: db.runCommand({'distinct' ...
分类:
数据库 时间:
2020-01-10 10:33:11
阅读次数:
88
我使用的U Boot版本是u boot 2012.10,编译的步骤为 cd u boot 2012.10 make s5p_goni_config sudo make 然后,就会看到错误提示 /bin/bash: arm linux gcc: command not found dirname: m ...
分类:
其他好文 时间:
2020-01-06 23:10:08
阅读次数:
138
1. The collection of Linkun's [1]:1.1 How are you doing.This is a very good habit, to greet my friend on the road, so that you and I will not appear s ...
分类:
其他好文 时间:
2020-01-01 20:32:43
阅读次数:
77
You are playing the following Flip Game with your friend: Given a string that contains only these two characters: + and -, you and your friend take tu ...
分类:
其他好文 时间:
2020-01-01 13:29:36
阅读次数:
62
序列化 import pickle friend = {"Dan": [20, "Lodon", 123123], "Mary" : [24, "Madi", 333333]} with open("friend.dat", "wb") as f: pickle.dump(friend, f) 反序 ...
分类:
编程语言 时间:
2019-12-31 10:32:22
阅读次数:
74
![T1摆棋子](https://www.luogu.com.cn/blog/DAYSGONE/bai-qi-zi-chessman) ...
分类:
其他好文 时间:
2019-12-30 21:02:40
阅读次数:
92
| | Name | | : : | : : | | "A" | "Minutes Before the New Year" standard input/output1 s, 256 MB | | "B" | "Candies Division" standard input/output2 s, ...
分类:
其他好文 时间:
2019-12-30 09:19:20
阅读次数:
61