i don't know why i get RE ......
#include<iostream>
#include<algorithm>
#include<cstring>
#include<cctype>
using namespace std;
int n,t;
char IN[10];
int s[100];
int dp[100];
int parent[100];
int anw;
void print(int x)
{
if(parent[x]!=-1)print(parent[x]);
cout<<s[x]<<endl;
}
main()
{
while ...
Search found 2 matches
- Thu May 26, 2011 2:37 pm
- Forum: Volume 4 (400-499)
- Topic: 497 - Strategic Defense Initiative
- Replies: 144
- Views: 44399
- Sat May 07, 2011 6:46 pm
- Forum: Volume 7 (700-799)
- Topic: 714 - Copying Books
- Replies: 29
- Views: 25312
Q714:Copying Books
please help me debug
my method is binary serch
i thought i have trouble on mark the splash character
(the bool array anw[10000] : if anw ==true means that is should print '/' before x )
thx=)
#include<iostream>
using namespace std;
int N,m,k;
int x[10000];
int L,H,M;
bool anw[10000];
bool ...
my method is binary serch
i thought i have trouble on mark the splash character
(the bool array anw[10000] : if anw ==true means that is should print '/' before x )
thx=)
#include<iostream>
using namespace std;
int N,m,k;
int x[10000];
int L,H,M;
bool anw[10000];
bool ...