码迷,mamicode.com
首页 >  
搜索关键字:shell memcache printf    ( 45225个结果)
100个shell脚本
脚本实列
分类:系统相关   时间:2020-11-01 20:53:17    阅读次数:31
求1000-2000之间的闰年,C语言代码实现
求1000-2000之间的闰年;C语言实现;代码练习
分类:编程语言   时间:2020-11-01 10:53:36    阅读次数:23
linux 环境变量的配置
我发现有些人习惯在 /etc/profile 文件里面配置环境变量,在这里配置挺不好的。 # /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) # and Bourne compatible shells (ba ...
分类:系统相关   时间:2020-11-01 10:17:26    阅读次数:24
实验2
任务1 #include <stdio.h> int main() { int a=5,b=7,c=100,d,e,f; d=a/b*c; e=a*c/b; f=c/b*a; printf("d=%d,e=%d,f=%d",d,e,f); return 0; } 对应数学运算式分别是0*100;50 ...
分类:其他好文   时间:2020-11-01 10:04:28    阅读次数:12
实验2
#include<stdio.h> int main(){ int a=5,b=7,c=100,d,e,f; d = a/b*c; e = a*c/b; f = c/b*a; printf("d=%d, e=%d, f=%d\n",d,e,f); return 0; } 任务2 #include<s ...
分类:其他好文   时间:2020-11-01 10:00:57    阅读次数:8
实验二
#include <stdio.h> int main() { int a=5, b=7, c=100, d, e, f; d = a/b*c; e = a*c/b; f = c/b*a; printf("d=%d,e=%d,f=%d\n",d,e,f); return 0; } d=ac/b,e= ...
分类:其他好文   时间:2020-11-01 09:51:04    阅读次数:8
实验2
#include <stdio.h> int main() { int a=5, b=7, c=100, d, e, f; d = a/b*c; e = a*c/b; f = c/b*a; printf("d=%d, e=%d, f=%d\n",d,e,f); return 0; } d=[5/7] ...
分类:其他好文   时间:2020-11-01 09:48:13    阅读次数:5
P4514 上帝造题的七分钟 | 二维前缀和板子
# include <bits/stdc++.h> using namespace std; const int N = 2050; int n,m; int lowbit(int x) {return x & -x;} struct _2wBIT { int a[N][N]; void clear ...
分类:其他好文   时间:2020-11-01 09:41:49    阅读次数:19
实验2
#include<stdio.h> int main(){ int a=5,b=7,c=100,d,e,f; d=a/b*c; e=a*c/b; f=c/b*a; printf("d=%d,e=%d,f=%d\n",d,e,f); return 0; } 数学计算式:d=5/7*100=0*100= ...
分类:其他好文   时间:2020-11-01 09:40:48    阅读次数:10
Shell脚本切割日志
我们经常会遇到某个日志文件会特别大的情况,比如Nginx记录的日志文件,怎么才能够在进程正常运行的情况下切割日志呢,看下面的代码片段 #!/bin/bash _nginx_home="/usr/local/openresty/nginx" _log_home="/tmp" _time=$(date ...
分类:系统相关   时间:2020-11-01 09:37:46    阅读次数:26
共45225条   上一页 1 ... 74 75 76 77 78 ... 4523 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!