cat electric_car.py 1 #! /usr/bin/python 2 # -*- coding:utf-8 -*- 3 4 from car import Car 5 6 class Battery(object): 7 """ 8 模拟电瓶 9 """ 10 def __init_ ...
分类:
其他好文 时间:
2021-02-19 13:19:52
阅读次数:
0
#include<iostream> #include<list> #include<string> #include<cstdio> using namespace std; //使用list(双向链表)容器对象实现简单的学生管理系统 //list简单使用 class Student{ //学生基 ...
分类:
其他好文 时间:
2021-02-19 13:03:05
阅读次数:
0
我的第九个代码 #define _CRT_SECURE_NO_WARNINGS 1#include<stdio.h> struct Book{char name[20];short int price;}; int main(){struct Book b1 = { "C语言程序设计",45 };p ...
分类:
其他好文 时间:
2021-02-19 12:52:44
阅读次数:
0
一、String类的常用方法 返回当前字符串中给定位置的字符: char charAt(int index) 返回给定字符串在当前字符串中的位置: int indexOf(String str) 返回当前字符串的长度: int length() 判断当前字符串是以指定字符开始或结束的: boolea ...
分类:
其他好文 时间:
2021-02-18 13:42:38
阅读次数:
0
System.out.println((char)(1 + '0')); // (char)(1 + 48) System.out.println((char)1 + '0'); // 1 + 48 System.out.println((char)1 + '1'); // 1 + 49 Syste ...
分类:
其他好文 时间:
2021-02-18 13:41:18
阅读次数:
0
卡特兰数 \(C_{2n}^{n} \: C_{2n}^{n - 1} \: = \: \frac{(2n)!}{n! \: n!} \: - \: \frac{(2n)!}{(n - 1)! \: (n + 1)!} \: = \: \frac{(2n)! \: (n + 1) \: - \: ( ...
分类:
其他好文 时间:
2021-02-18 13:33:34
阅读次数:
0
题目描述 For this problem, you will write a program that reads in a sequence of 32-bit signed integers. After each odd-indexed value is read, output the m ...
分类:
其他好文 时间:
2021-02-18 13:06:04
阅读次数:
0
1. 题目 表1: Person ± ± +| 列名 | 类型 |± ± +| PersonId | int || FirstName | varchar || LastName | varchar |± ± +PersonId 是上表主键表2: Address ± ± +| 列名 | 类型 |± ...
分类:
数据库 时间:
2021-02-17 15:09:12
阅读次数:
0
我们还可以使用jQuery添加广告弹窗,来看下是怎么实现的: 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 <style type="text/css"> 7 #ad{ 8 width ...
分类:
Web程序 时间:
2021-02-17 15:02:03
阅读次数:
0
高斯消元解线性方程组 时间复杂度:O(\(n^3\)) https://www.luogu.com.cn/problem/P3389 题意:给定一个线性方程组,对其求解。 #include <bits/stdc++.h> using namespace std; const char nl = '\ ...
分类:
其他好文 时间:
2021-02-17 14:54:53
阅读次数:
0