| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
大哥大姐们帮帮忙啊...实在不知道怎么改了,CE...//string str[100], eng;
CE:if(str[0]=="negative")
{
h=1;
cout<<'-';
}
for( i=h; i<=len; i++ )
{
//cout<<i<<'i'<<endl;
for( j=0; j<31; j++ )
{
//cout<<j<<'j'<<endl;
//
CE: if( str[i]==hash[j].eng ) break;
}
//cout<<str[i]<<endl;
//cout<<j<<endl;
if( j<28 )temp+=hash[j].value;
else
{
ss[top]=temp;
temp=0;
ss1[top++]=j-27;
}
}
越改越没信心了...
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator