x*q
2 楼
我的T60p,winXP, sp3. 以前没有着毛病,最近不知道windows多了什么还是少了什么。
如果我启动printer spooler service就没办法合上屏幕后自动休眠。请问这是怎么回
事。
如果我启动printer spooler service就没办法合上屏幕后自动休眠。请问这是怎么回
事。
f*5
3 楼
help needed with C++ code of the algorithm
Input: n=total amount of money
Check denomination: a1,a2, …..ak..
Output: minimum amount change=money[n]
1 money[0]=0
2 money[1]=1
3 for I from 2 to k
4 min_tmp=n
5 for j from 0 to n
6 if i>=aj
7 min_tmp=min(money[i-aj] +1, min_tmp)
8 money[i]=min_tmp;
thanks
Input: n=total amount of money
Check denomination: a1,a2, …..ak..
Output: minimum amount change=money[n]
1 money[0]=0
2 money[1]=1
3 for I from 2 to k
4 min_tmp=n
5 for j from 0 to n
6 if i>=aj
7 min_tmp=min(money[i-aj] +1, min_tmp)
8 money[i]=min_tmp;
thanks
b*g
4 楼
别浪费钱了,证书没用
c*r
5 楼
vector.sort
f*5
7 楼
It compiles!!
#include
using namespace std;
int moneyChange(int *money, int len, int i);
int main(void)
{
int len=11;
int money[]={0,1,0,0,0,0,0,0,0,0,0};
int amount=10;
moneyChange(money, 11, 10);
for (int i=0;i cout< system("pause");
return 0;
}
int moneyChange(int *money, int , int i){
int min_temp=i;
int denom[3]={1, 3, 4};
if (i==0) return 0;
else if (i==1) return 1;
else{
for( int j=0 ; j<3; j++){
if (i>=denom[j])
{
int k=( i-denom[j] );
int changeNum=moneyChange(money, 11, k);
min_temp=min(changeNum+1, min_temp);
}
}
money[i]=min_temp;
return money[i];
}//end of else
}//end of moneyChange
int min(int a, int b){
if(a>b)
return b;
else
return a;
}
【在 c***r 的大作中提到】
: vector.sort
#include
using namespace std;
int moneyChange(int *money, int len, int i);
int main(void)
{
int len=11;
int money[]={0,1,0,0,0,0,0,0,0,0,0};
int amount=10;
moneyChange(money, 11, 10);
for (int i=0;i
return 0;
}
int moneyChange(int *money, int , int i){
int min_temp=i;
int denom[3]={1, 3, 4};
if (i==0) return 0;
else if (i==1) return 1;
else{
for( int j=0 ; j<3; j++){
if (i>=denom[j])
{
int k=( i-denom[j] );
int changeNum=moneyChange(money, 11, k);
min_temp=min(changeNum+1, min_temp);
}
}
money[i]=min_temp;
return money[i];
}//end of else
}//end of moneyChange
int min(int a, int b){
if(a>b)
return b;
else
return a;
}
【在 c***r 的大作中提到】
: vector.sort
z*y
8 楼
MVP 也不见得技术上有多好。
02年以前MVP主要是看技术。 02年以后, MVP更多的是看对社区的贡献。 我就面试过
不咋地的MVP。 问了一个简单的问题, 大家不妨答一下。 这是一个开放的问题,
google是找不到了, 我自己找过。
You are facing a production server for the first time and your client
complains to you oe database has no full backup for three days. What's your
steps to troubleshoot this issue?
这位老兄的回答是:go ahead make full backup and see if it failed again. Then
we can from there.
He has been MVP on year 03, 05 and 06.
【在 s**********o 的大作中提到】
: 那你说啥有用,你要是微软的MVP,还愁没有工作啊
02年以前MVP主要是看技术。 02年以后, MVP更多的是看对社区的贡献。 我就面试过
不咋地的MVP。 问了一个简单的问题, 大家不妨答一下。 这是一个开放的问题,
google是找不到了, 我自己找过。
You are facing a production server for the first time and your client
complains to you oe database has no full backup for three days. What's your
steps to troubleshoot this issue?
这位老兄的回答是:go ahead make full backup and see if it failed again. Then
we can from there.
He has been MVP on year 03, 05 and 06.
【在 s**********o 的大作中提到】
: 那你说啥有用,你要是微软的MVP,还愁没有工作啊
B*g
9 楼
能挣钱就行
your
Then
【在 z***y 的大作中提到】
: MVP 也不见得技术上有多好。
: 02年以前MVP主要是看技术。 02年以后, MVP更多的是看对社区的贡献。 我就面试过
: 不咋地的MVP。 问了一个简单的问题, 大家不妨答一下。 这是一个开放的问题,
: google是找不到了, 我自己找过。
: You are facing a production server for the first time and your client
: complains to you oe database has no full backup for three days. What's your
: steps to troubleshoot this issue?
: 这位老兄的回答是:go ahead make full backup and see if it failed again. Then
: we can from there.
: He has been MVP on year 03, 05 and 06.
your
Then
【在 z***y 的大作中提到】
: MVP 也不见得技术上有多好。
: 02年以前MVP主要是看技术。 02年以后, MVP更多的是看对社区的贡献。 我就面试过
: 不咋地的MVP。 问了一个简单的问题, 大家不妨答一下。 这是一个开放的问题,
: google是找不到了, 我自己找过。
: You are facing a production server for the first time and your client
: complains to you oe database has no full backup for three days. What's your
: steps to troubleshoot this issue?
: 这位老兄的回答是:go ahead make full backup and see if it failed again. Then
: we can from there.
: He has been MVP on year 03, 05 and 06.
s*o
13 楼
3天没FULL BACKUP,一般情况是RUN OUT OF SPACE,做不出FULL BACKUP,去看一下FULL
BACKUP JOB ERROR和目标FOLDER。你这种根本就不是什么SOLUTION的问题,就是个DBA
的常见问题么。
BACKUP JOB ERROR和目标FOLDER。你这种根本就不是什么SOLUTION的问题,就是个DBA
的常见问题么。
s*o
17 楼
我觉得人MVP说的也没错,先自己手动BACKUP LOCAL一下看看有什么问题了,再看是不
是网络和目标盘的问题,也有JOB太多耗资太大数据库改动过多,FULL BACKUP RUN不完
的,比较少见。
是网络和目标盘的问题,也有JOB太多耗资太大数据库改动过多,FULL BACKUP RUN不完
的,比较少见。
相关阅读
建议改工程版为化工版SparseArray表达的Matrix在Compile中应该用什么类latex一问求概率hey guys, what is St. Venant's differential equat有个问题drive me crazyMonte Carlo simulation softwareHelp change the code of optimization请教大家c++ array请教用LinearSolve求解SparseArray时的怪事情?请教湍流的问题请帮忙一个矩阵处理的问题help: 怎么用mathematica 输出坐标轴标记?who has paralle code for MDWho has ever used the Tsyganenko code?[转载] FFT里面的"码位倒置"用英文怎么说啊?matlab能输出成PS格式的图片吗常微分方程求助Fortran77支持递归(recursion)吗?