码迷,mamicode.com
首页 >  
搜索关键字:jsp include    ( 101623个结果)
[POI2005]BAN-Bank Notes
#include <cmath> #include <queue> #include <cstdio> #include <vector> #include <cstring> #include <iostream> #include <algorithm> #define ll long long ...
分类:其他好文   时间:2021-03-16 13:45:15    阅读次数:0
程序设计入门(C语言) - 翁恺
#第一周 程序设计与C语言 #include <stdio.h> int main() { printf("%d\n",12+34); return 0; } %d表示后面有一个整数要输出在这个位置上 #第二周 计算 ##2.1 变量 scanf("%d,&price"); 要求scanf()这个函 ...
分类:编程语言   时间:2021-03-16 13:23:53    阅读次数:0
DP —— 数字三角形模型
DP——数字三角形模型 0. 数字三角形 题目地址: 题目思路: 二维基础DP,每个 \(f[i,j]\) 都是从 \(f[i-1,j-1]\) 和 \(f[i-1,j]\) 转移过来,取 \(max\) ,最后循环最下层,取 \(max\) 即为答案 代码: #include<iostream> ...
分类:其他好文   时间:2021-03-16 11:57:25    阅读次数:0
[多校练习] 成都七中数据结构 Challenge 系列解题报告
Challenge 0 给一个长为 \(n\) 的数列,有 \(M\) 次操作 \((1\le n, m \le 10^5)\),每次操作是以下两种之一: 修改数列中的一个数 求数列中某位置的值 解答:数组模拟即可。 #include <iostream> #include <cstdio> #in ...
分类:其他好文   时间:2021-03-16 11:41:02    阅读次数:0
二叉树的建立与遍历(C语言实现)- 练习
ref #include <stdio.h> #include <stdlib.h> typedef struct node { int data; struct node *lchild, *rchild; }bitree_t; bitree_t *createNode(int data) { b ...
分类:编程语言   时间:2021-03-15 11:35:22    阅读次数:0
用链表解决约瑟夫环问题
#include <stdio.h>#include <stdlib.h>typedef struct node { int number; struct node * next;}person;person * initLink(int n) { int i = 0; person * head ...
分类:其他好文   时间:2021-03-15 11:31:33    阅读次数:0
PAT(Advanced Level)A1120. Friend Numbers
题意 如果两个数的数位和一样那么这两个数就是友好数,称数位和为友好ID,现在要找出给定的序列中有几个不同的友好ID 思路 按照要求模拟就好了 记录有几个不同的友好ID,可以采用set 代码 #include <iostream> #include <vector> #include <queue> ...
分类:其他好文   时间:2021-03-15 11:31:00    阅读次数:0
实验1 C 语言开发环境使用和数据类型,运算符,表达式
1.实验任务11.行方向 #include<stdio.h> int main(){ printf(" o o\n"); printf("<H> <H>\n"); printf(" I I I I\n"); return 0; } 2.列方向 #include<stdio.h> int main() ...
分类:编程语言   时间:2021-03-15 11:30:29    阅读次数:0
PAT 2021 春季 甲级 7-1 Arithmetic Progression of Primes
PAT 2021 春季 甲级 7-1 Arithmetic Progression of Primes ...
分类:其他好文   时间:2021-03-15 11:19:56    阅读次数:0
Northern Eurasia Finals Online 2020 L - Lookup Performance
处理了一年的边界问题 #include <bits/stdc++.h> using namespace std; const int N = 2e5 + 10; #define fi first #define se second #define sz(v) ((int)(v).size()) #d ...
分类:其他好文   时间:2021-03-15 11:18:36    阅读次数:0
共101623条   上一页 1 ... 62 63 64 65 66 ... 10163 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!