Search found 105 matches

by sakhassan
Fri Feb 27, 2009 10:34 am
Forum: FAQ
Topic: How to see my friend's Statistics?
Replies: 5
Views: 8036

Re: How to see my friend's Statistics?

If u want to see the statistics of other users , the result returns ' You are not authorized to view this resource'. If u add ' &Itemid=20' after the url link of ur desired author ranklist , u can view it. For eg. 'http://icpcres.ecs.baylor.edu/onlinejudge/index.php?option=com_onlinejudge&page=show_...
by sakhassan
Mon Nov 03, 2008 7:48 am
Forum: Volume 1 (100-199)
Topic: 118 - Mutant Flatworld Explorers
Replies: 68
Views: 9252

Re: 118 WA: wtf

Getting WA :( .. is my logic wrong :( ... Please help me. This is ma code: #include<stdio.h> #define N 102 int cur_x,cur_y; int scent[N][N]; void forward(char d) { if(d=='W') cur_x -=1; else if(d=='E') cur_x += 1; else if(d=='N') cur_y += 1; else cur_y -= 1; } char move_dir(char d,char m) { if(m=='L...
by sakhassan
Sat Sep 01, 2007 2:11 pm
Forum: Volume 112 (11200-11299)
Topic: 11207 - The easiest way
Replies: 27
Views: 13379

I didn't get the idea yet.... Can anyone help me out?

Thanks in advanced
by sakhassan
Mon Aug 27, 2007 8:15 am
Forum: Volume 3 (300-399)
Topic: 342 - HTML Syntax Checking
Replies: 31
Views: 12744

Whats wrong with ma code ..... when submit it with Cpp it says invalid memory reference and with C it says compiler error .... i found no error in my compiler 'TC' :( ..... What's the size of 'a' line ?? is it ok with gets?? does the input accept only UPPERCASES tag ??? if it does not accept mixed c...
by sakhassan
Mon Aug 27, 2007 8:11 am
Forum: Volume 3 (300-399)
Topic: 342 - HTML Syntax Checking
Replies: 31
Views: 12744

Whats wrong with ma code ..... when submit it with Cpp it says invalid memory reference and with C it says compiler error .... i found no error in my compiler 'TC' :( ..... What's the size of 'a' line ?? is it ok with gets?? does the input accept only UPPERCASES tag ??? if it does not accept mixed c...
by sakhassan
Fri Aug 24, 2007 9:02 am
Forum: Volume 112 (11200-11299)
Topic: 11247 - Income Tax
Replies: 50
Views: 20845

WA WA AND WA :( #include<stdio.h> int main() { long long int m,v,n; double x; while(1) { scanf("%lld %lf",&m,&x); if(m==0 && x ==0) break; if (x == 100 || x == 0 || m == 1) { printf("Not found\n"); continue; } //v = (long int)(m-1)/(1.0-x/100.0); v = (m-1)*100/(100-x); //printf("%lld\n",v); if(v >= ...
by sakhassan
Fri Jun 22, 2007 4:17 pm
Forum: Volume 112 (11200-11299)
Topic: 11219 - How old are you?
Replies: 117
Views: 33749

getting WA

I am getting WA .. I tried all inputs in the forum :(

Code: Select all


Deleted after AC
Thanks in advanced
by sakhassan
Thu Mar 01, 2007 4:55 pm
Forum: Volume 2 (200-299)
Topic: 276 - Egyptian Multiplication
Replies: 22
Views: 5716

Still getting PE in this code :(... tried all I/O hard and soul :( ....
by sakhassan
Thu Mar 01, 2007 4:51 pm
Forum: Volume 100 (10000-10099)
Topic: 10058 - Jimmi's Riddles
Replies: 22
Views: 6392

HERE MY DUMP CODE :-? #include<stdio.h> #include<string.h> #define N 100 void match(char s[N]); void get_next(); void Noun(); void L(); void S(); void R(); void C(); void A(); void V(); char lookahead[N]; int index; int len; char str[N]; int flag; void V() { int i; int tmp_len; int mark; char temp[N...
by sakhassan
Thu Mar 01, 2007 3:59 pm
Forum: Volume 100 (10000-10099)
Topic: 10058 - Jimmi's Riddles
Replies: 22
Views: 6392

I too really think it as a typical grammar problem... Thanks for the I?O set. my code pass all these test cases .. But still wrong answer though :( my grammar look like this: S -> A|A,A A -> LVL L -> C and C| C C -> N|RN R -> a|the N -> all noun V -> all verb|Vs s = statement a = action l = action l...
by sakhassan
Thu Mar 01, 2007 10:42 am
Forum: Volume 100 (10000-10099)
Topic: 10058 - Jimmi's Riddles
Replies: 22
Views: 6392

Can anyone give me some critical input/output ?

Thanks in Advance
by sakhassan
Fri Jan 12, 2007 3:00 pm
Forum: Volume 7 (700-799)
Topic: 790 - Head Judge Headache
Replies: 49
Views: 14695

Can anyone give me the output for this input?

Code: Select all

3

1 A 2:33 Y 
2 B 2:33 Y 
1 A 2:33 N 
2 A 2:33 N 

1 A 2:33 Y 
2 A 2:33 Y 
1 A 2:33 N 
2 A 2:32 N 

1 A 2:33 N
1 A 2:33 Y
1 A 2:44 Y


Thanks in Advance
by sakhassan
Thu Jan 11, 2007 1:39 pm
Forum: Volume 7 (700-799)
Topic: 790 - Head Judge Headache
Replies: 49
Views: 14695

I am getting CE !!!!!!!!!! I dont know what's the problem... I am using TC... #include<stdio.h> #include<string.h> #include<stdlib.h> #define N 200 #define M 30 struct t { int t; int solved[N]; int time; int flag; int tried[N]; int done; }team[M]; int cmp( const struct t *a, const struct t *b) { if(...
by sakhassan
Mon Jan 08, 2007 1:46 pm
Forum: Volume 103 (10300-10399)
Topic: 10397 - Connect the Campus
Replies: 75
Views: 25806

Thanks. But malloc doesn't bother me ..... I change my double variable to int and got AC ... I don't know why double makes trouble :o :o :-?
by sakhassan
Sun Jan 07, 2007 12:39 pm
Forum: Volume 103 (10300-10399)
Topic: 10397 - Connect the Campus
Replies: 75
Views: 25806

I am getting RTE... if i increase the MAX size to 1001 .. i get MLE ... I dont know what to do ?? pls help me :( :( Here is ma code #include<stdio.h> #include<stdlib.h> #include<math.h> #define MAXNODE 1001 #define NIL -1 #define MAXDEG MAXNODE*MAXNODE #define N 1001 double graph[N][N]; struct edge{...

Go to advanced search