码迷,mamicode.com
首页 >  
搜索关键字:le ge lt gt eq ne    ( 256714个结果
实验五
#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[i] ...
分类:其他好文   时间:2021-06-02 13:37:21    阅读次数:0
实验五
task 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", ...
分类:其他好文   时间:2021-06-02 13:36:45    阅读次数:0
实验五
#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[i],a[i]); pr ...
分类:其他好文   时间:2021-06-02 13:35:06    阅读次数:0
实验5
#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[i] ...
分类:其他好文   时间:2021-06-02 13:32:46    阅读次数:0
题解:砝码称重
##题目: (注:T1) ##想法 这道题是一个方案背包的类似板子的题,但是我并没有第一遍切,为什么呢?因为我在一个循环里把num[]数组写成了a[]数组,结果样例太水了被我过了,后来发现才9分,回头检查才发现数组写错了。太智障了,下次要认真点 ##代码: #include<bits/stdc++. ...
分类:其他好文   时间:2021-06-02 13:32:00    阅读次数:0
[react-router] hashHistory 和 browserHistory 的区别
更多 react-router提供了三种方式来实现路由,并没有默认的路由,需要在声明路由的时候,显式指定所使用的路由。 //v1.x <Router/> //v2.0.0 // hash history import { hashHistory } from 'react-router' <Rout ...
分类:其他好文   时间:2021-06-02 13:31:44    阅读次数:0
实验五
实验任务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", ...
分类:其他好文   时间:2021-06-02 13:30:31    阅读次数:0
HDU - 3949 XOR(线性基)
题目链接 #题目大意 求n个数的子序列的最大异或和。 #解题思路 求出n个数的线性基并排序,然后将k二进制异或上线性基中对应的代表元素即可。 #代码 const int maxn = 2e5+10; ll arr[maxn]; vector<ll> b; //b中存的每个二进制位的代表元素 void ...
分类:其他好文   时间:2021-06-02 13:29:58    阅读次数:0
实验五
#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[i] ...
分类:其他好文   时间:2021-06-02 13:29:18    阅读次数:0
PS将图片像素不变所占内存变小
###快捷键:ctrl + alt + shift + s 可以通过调整图片品质调整图片内存大小。 如果想调整图片像素大小:点击图像 --> 图像大小进行调整 PS如何将图片像素不变所占内存变小 ...
分类:其他好文   时间:2021-06-02 13:22:47    阅读次数:0
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!