Search found 2 matches

by ss89162504
Thu May 26, 2011 2:37 pm
Forum: Volume 4 (400-499)
Topic: 497 - Strategic Defense Initiative
Replies: 144
Views: 24288

Re: Wa 497 Strategic Defense Initiative

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(cin>>t) {...
by ss89162504
Sat May 07, 2011 6:46 pm
Forum: Volume 7 (700-799)
Topic: 714 - Copying Books
Replies: 29
Views: 20371

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 check(int ...

Go to advanced search