- 博客(24)
- 资源 (22)
- 收藏
- 关注
原创 temp
#include#includeusing namespace std;int main(){ string a, b; string s[10000]; int size = 0; cin >> b; while(cin >> a){ s[size] = a; size++; }
2017-08-11 18:21:56
256
原创 ifort环境变量设置
For bash:$ source /opt/intel/bin/compilervars.sh intel64or$ source /opt/intel/bin/ifortvars.sh intel64$ source /opt/intel/bin/iccvars.sh intel64
2016-05-06 18:36:40
5772
转载 [CUDA]关于centos如何安装cuda driver
yum -y updateyum -y groupinstall “GNOME Desktop” “Development Tools”yum -y install kernel-develEdit /etc/default/grub. Add “rd.driver.blacklist=nouveau nouveau.modeset=0″ to “GRUB_CMDLINE_LINUX”grub2-
2016-01-13 12:52:10
1293
原创 vtune打开图形界面
cd /opt/intel/vtune_amplifier_xe_2016.2.0.444464source /opt/intel/vtune_amplifier_xe_2016/amplxe-vars.shamplxe-gui
2016-01-05 10:20:31
1031
原创 [系统]windows引导修复
grub> rootnoverify (hd0,0)grub> chainloader +1grub> makeactivegrub> boot
2015-12-28 19:53:15
930
原创 模式学习之netcdf,netcdf-fortran,pgi安装
安装环境linux centos 6.5netcdf的安装1. 在安装netcdf之前,要安装zlib和hdf5 下载zlib包, 解压,进入目录 ./configure --prefix=/home/ed/local make check install 下载hdf5包,解压,进入目录 ./configure --with-zlib=
2015-11-30 18:50:56
10258
1
原创 node问题之FATAL ERROR: Allocation failed - process out of memory
感觉自己不能更蠢了,这个内存溢出出现的原因十分奇葩,就是一开始设置prefix那里...我明明装了双系统,windows只有一个C盘,我竟然在npm set config prefix后面接了一个D盘的地址...人傻不能复生...我开始卸载安装卸载安装,发现这个配置并没有变,连输入npm -v都会报内存溢出的错...然后我突然灵光一现打开了磁盘管理然后将空余的磁盘空间建了一个D
2015-11-26 21:06:10
10600
1
原创 linux下网络固定IP的配置
1. 查看网卡配置文件 在命令行中输入cd /etc/sysconfig/network-scripts2. 输入ls,回车3. 打开ifcfg-eth0,编辑网卡配置文件DEVICE=eth0HWADDR=00:50:56:81:00:15 (MAC地址)NM_CONTROLLED=yesONBOOT=yes (必须配置为yes)IPADDR=192.16
2015-11-26 20:59:20
397
转载 linux把引导程序装在U盘上的解决办法
昨天的时候装Linux centos6.5把引导程序装在了U盘里,原因是曾出现个界面说更换设备,我忽略了它...然后直接导致装好之后拔下U盘根本无法进入linux,网上的方法大多是重新安装系统,U盘格式化无法格掉Linux,格式化后插上直接进入了linux...几近崩溃,后来在网上找到了个大神的方法,在这里记录一下。1. 插上U盘进入Linux,在终端中输入$sudo grub2.
2015-11-25 11:13:31
4241
原创 Phonegap环境搭建中遇到的种种问题
1. xcopy is not recognized as an internal or external command, operable program or batch file原因: 没有添加环境变量解决方案:在环境变量PATH中加%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT
2015-10-08 16:52:01
515
原创 安卓APP打包成APK
未签名的安卓APP会导致安装失败,今天记录一下如何给安卓APP打包。首先,打开命令行,进入到jdk的bin目录,如果忘了的话,进入系统查看JAVA_PATH,然后再进入bin。输入以下命令:keytool -genkey -alias android.keystore -keyalg RSA -validity 100000 -keystore android.keystore
2015-09-24 13:12:49
1286
原创 【J2EE】网上停车场管理系统
src源代码部分:1.hibernate部分Users.javapackage Hibernate;import java.util.HashSet;import java.util.Set;/** * Users entity. @author MyEclipse Persistence Tools */public class Users implements j
2015-01-08 20:21:54
1472
1
原创 【C++】OJ612
#include#include#include#include#includeusing namespace std;class dna{public: string s; int time; int calcu(){ int n = 0; int a = s.length(); for(int y = 0;y<a;y++){ for(int x = y+1
2014-02-10 07:30:23
542
原创 【C++】OJ458
#include#include#include#include#include#includeusing namespace std;class word{public: char seem; char real; word(char a,char b){seem = a;real = b;};};int main(){ word a[] = {word('j','c
2014-02-10 07:29:39
466
原创 【C++】OJ442
#include#include#include#includeusing namespace std;class matrix{public: char name; int row; int rank; matrix(){ name = ' '; row = 0; rank = 0; }};int main(){ vectora; int b
2014-02-10 07:29:03
456
原创 【C++】OJ299
#includeusing namespace std;int time(int *a,int n){ int time = 0; for(int x = 0;x<n;x++){ for(int y = x+1;y<n;y++){ if(a[x]>a[y]){ int temp = a[x]; a[x] = a[y]; a[y] = temp; t
2014-02-10 07:28:26
480
原创 【C++】OJ147
#includeusing namespace std;int main(){ double a; cin >> a; int x = 0; double number[10] = {0.00}; number[x] = a; int time[10] = {0}; int q = 0; while(a!=0.00){ int b = a*100; for(
2014-02-10 07:27:23
493
原创 【C++】OJ139
#include#includeusing namespace std;string transfer(string s){ int i = 0; for(i = 0;i<s.length();i++){ if(s[i]=='$') break; } string t = ""; for(int j = i+1;j<s.length();j++){ t += s[j]
2014-02-10 07:26:46
458
原创 【C++】OJ136
#include#include#include#includeusing namespace std;bool ispri(long n){ if(n0) return false; for(int i = 2;i<=n/2;i++){ if(n%i==0) return false; } return true;}int main(){ long a
2014-02-10 07:26:10
482
原创 【C++】OJ119
#include#includeusing namespace std;int main(){ int number; cin >> number; string people[10]={""}; int gein[10] = {0}; for(int i = 0;i<number;i++){ cin >> people[i]; } int n = 0; while(n<
2014-02-10 07:25:28
640
原创 【C++】OJ103
#include#include#include#includeusing namespace std;const int size = 10;class group{public: int row; int rank; int size; int number; int m[10]; bool operator<=(group &v); bool operato
2014-02-10 07:11:33
460
原创 【C++】OJ102
#includeusing namespace std;int main(){ int b[3] = {0}; int g[3] = {0}; int c[3] = {0}; for(int i = 0;i<3;i++){ cin >> b[i]; cin >> g[i]; cin >> c[i]; } int bt = 0,gt = 0,ct = 0; for(in
2014-02-10 07:10:53
524
原创 【C++】OJ100
#includeusing namespace std;int cycle(int n){ int number = 1; while(n!=1){ if(n%2==0) n /= 2; else n = 3*n+1; number++; } return number;}int main(){ int a,b; cin >> a; cin >> b;
2014-02-10 07:10:08
468
JavaMail and Email Processing in .NET Framework探索报告
2016-05-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人