码迷,mamicode.com
首页 >  
搜索关键字:jsp include    ( 101623个结果
c语言 9-7
1、 #include <stdio.h> void put(char x[], int n) { while(n-- > 0) printf(x); putchar('\n'); } int main(void) { char str[128]; int n; printf("str: "); s ...
分类:编程语言   时间:2021-06-02 11:11:52    阅读次数:0
【ybt金牌导航4-6-2】【luogu P3835】可持久化平衡树
要你支持一些操作。 插入数,删除数,查询数排名,查询某个排名的数,查询数的前驱后继。 但是它要求可以可持久化,即每次会在给定的历史版本上改动。 ...
分类:其他好文   时间:2021-06-02 11:01:10    阅读次数:0
socket_client
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <sys/un.h> #include <netinet/in.h> ...
分类:其他好文   时间:2021-06-02 10:49:05    阅读次数:0
实验5
任务1#include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名和下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d\n", &a ...
分类:其他好文   时间:2021-06-02 10:47:49    阅读次数:0
c语言求输入的任一整数的各位数之和
源码: # include<stdio.h> int main(void){int a,i=0,sum=0;scanf("%d",&a);if(a<0) a=-a;//求负整数的while(a){sum+=(a%10);//sum存各位数之和a/=10;}printf("各位数字之和为:%d\n", ...
分类:编程语言   时间:2021-05-25 18:29:36    阅读次数:0
#define 连接字符串
define连接字符串 #define conn(x,y) x##y,连接x与y #define toString(x) #x,将x变成字符串 #include <stdio.h> #define conn(x,y) x##y #define toChar(x) #x int main(void) ...
分类:其他好文   时间:2021-05-25 18:17:24    阅读次数:0
Codeforces Round #722 (Div. 2)
题目:https://codeforc.es/contest/1529 A. Eshag Loves Big Arrays 题意:略 题解:发现随便取两个不同的数,一定可以删掉大的那个数。所以最后留下的肯定是最小的所有数。 #include<iostream> #include<algorithm> ...
分类:其他好文   时间:2021-05-25 18:14:45    阅读次数:0
异常 名称空间
异常 try { 被检查的语句 } catch(异常信息类型[变量名]) { 进行异常处理的语句 } #include <math.h> #include <iostream> using namespace std; double triangle(double a, double b, doub ...
分类:其他好文   时间:2021-05-25 18:14:25    阅读次数:0
C++ 获取GUID
C++ 获取GUID #include <objbase.h> #include <stdio.h> //--生成GUID const char* newGUID() { static char buf[64] = {0}; GUID guid; if (S_OK == ::CoCreateGuid ...
分类:编程语言   时间:2021-05-25 18:10:12    阅读次数:0
每日LeetCode - 101. 对称二叉树(C语言)
C语言 #include "stdbool.h" #define NULL ((void *)0) //Definition for a binary tree node. struct TreeNode { int val; struct TreeNode *left; struct TreeNo ...
分类:编程语言   时间:2021-05-25 17:51:01    阅读次数:0
101623条   上一页 1 ... 25 26 27 28 29 ... 10163 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!