1、 #include <stdio.h> #define NUMBER 5 int main(void) { int i; int sum = 0; int a[NUMBER]; puts("please input the scores."); for (i = 0; i < NUMBER; i ...
分类:
编程语言 时间:
2021-01-12 10:33:53
阅读次数:
0
<?php header("content-type:text/html;charset=utf-8"); // $a = 1; // echo $GLOBALS; // echo $_SERVER; // echo $_ENV; // var_dump($_REQUEST); var_dump($ ...
分类:
Web程序 时间:
2021-01-12 10:31:53
阅读次数:
0
public function add() { $data = input('post.'); $img = request()->file('img_banner'); $info = $img->move("./static/uploads/lunbo"); if ($info) { // 输出 ...
分类:
Web程序 时间:
2021-01-12 10:30:06
阅读次数:
0
explode() 使用一个字符串分割另一个字符串。 array explode( string $delimiter , string $string [, int $limit ]) 参数描述delimiter 边界上的分隔字符。 string 输入的字符串。 limit 如果设置了 limit ...
分类:
Web程序 时间:
2021-01-11 10:54:17
阅读次数:
0
ngModel ngModel不能用来把表单控件注册到父formGroup指令中。不然会报错 如果你想避免注册这个表单控件,请在ngModelOptions中指出它是独立的: <input [(ngModel)]="person.firstName" [ngModelOptions]="{stand ...
分类:
其他好文 时间:
2021-01-11 10:51:05
阅读次数:
0
Problem LeetCode Given a binary search tree, write a function kthSmallest to find the kth smallest element in it. Example 1: Input: root = [3,1,4,null ...
分类:
编程语言 时间:
2021-01-11 10:45:32
阅读次数:
0
练习:判断是否为闰年 year=eval(input("请输入年份:"))pd=Trueif year%400==0: pd=Trueelif year%4==0 and year%100!=0: pd = Trueelse: pd=Falseif pd==True: print(str(year) ...
分类:
其他好文 时间:
2021-01-11 10:32:50
阅读次数:
0
在windows下,新建一个 config_rabbitmq.conf 配置文件 开始logstash的时候,新建一个 run_rabbitMQ.bat 批处理,内容是 logstash -f config_rabbitMQ.conf 运行 run_rabbitMQ.bat 批处理文件就行了 先在r ...
分类:
其他好文 时间:
2021-01-11 10:32:31
阅读次数:
0
A. Cards for Friends time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output For the New Year, Po ...
分类:
其他好文 时间:
2021-01-08 11:28:07
阅读次数:
0
问题: 给定一串由数字构成的字符串。 给任意两个数字间添加'.',一共加3次,求能得到的所有有效的IP格式。 Example 1: Input: s = "25525511135" Output: ["255.255.11.135","255.255.111.35"] Example 2: Inpu ...
分类:
其他好文 时间:
2021-01-08 11:18:15
阅读次数:
0