Search found 30 matches
- Tue Mar 07, 2006 12:23 pm
- Forum: Volume 110 (11000-11099)
- Topic: 11008 - Antimatter Ray Clearcutting
- Replies: 81
- Views: 82476
- Mon Feb 13, 2006 9:45 am
- Forum: Volume 109 (10900-10999)
- Topic: 10993 - Ignoring Digits
- Replies: 19
- Views: 11258
- Mon Feb 13, 2006 9:39 am
- Forum: Volume 109 (10900-10999)
- Topic: 10993 - Ignoring Digits
- Replies: 19
- Views: 11258
- Mon Feb 13, 2006 8:14 am
- Forum: Volume 109 (10900-10999)
- Topic: 10993 - Ignoring Digits
- Replies: 19
- Views: 11258
10993 - Ignoring Digits
Can anyone tell me how to solve this problem? I haven't any idea
- Sun Feb 12, 2006 11:34 am
- Forum: Volume 109 (10900-10999)
- Topic: 10990 - Another New Function
- Replies: 32
- Views: 18068
- Sun Feb 12, 2006 10:27 am
- Forum: Volume 109 (10900-10999)
- Topic: 10990 - Another New Function
- Replies: 32
- Views: 18068
- Fri Feb 10, 2006 4:25 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10946 - You want what filled?
- Replies: 38
- Views: 22811
- Sun Aug 14, 2005 8:05 am
- Forum: Volume 103 (10300-10399)
- Topic: 10344 - 23 out of 5
- Replies: 81
- Views: 36732
- Sat Aug 13, 2005 11:16 am
- Forum: Volume 103 (10300-10399)
- Topic: 10344 - 23 out of 5
- Replies: 81
- Views: 36732
- Fri Aug 12, 2005 4:07 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10344 - 23 out of 5
- Replies: 81
- Views: 36732
10344 23 Out of 5
Hi! I need help for p10344. I get WA,and I don't why.I think there should be 5!*3^4=9720 conditions.So Backtracking it. Here is the code: #include <iostream.h> #include <string.h> int oper[4]; int value[5]; bool flag; int cal() { int result; switch(oper[0]){ case 1:result=value[0]+value[1];break; ca...
- Sat Feb 26, 2005 8:01 am
- Forum: C++
- Topic: How to use qsort function in C++? Please help!
- Replies: 2
- Views: 2309
- Fri Feb 25, 2005 8:59 am
- Forum: C++
- Topic: How to use qsort function in C++? Please help!
- Replies: 2
- Views: 2309
How to use qsort function in C++? Please help!
I want to use qsort function.But it says compile error on my VC++6.0 Here is my sample code: #include <stdio.h> #include <stdlib.h> #include <string.h> int sort_function( const void *a, const void *b); char list[5][4] = { "cat", "car", "cab", "cap", "can&...
- Tue Feb 15, 2005 3:16 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10104 - Euclid Problem
- Replies: 29
- Views: 14314
- Sun Feb 13, 2005 3:23 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10104 - Euclid Problem
- Replies: 29
- Views: 14314
10104 Need Help
This problem is not a hard one ,I think.But it confuse me a lot.I use a loop for(y=-b;y<=b;y++) to find the suitable x and y.But TLE.So I wonder is there a formula that can find the x,y quickly.Please help me !!!Thx
- Fri Feb 11, 2005 5:44 am
- Forum: Volume 4 (400-499)
- Topic: 409 - Excuses, Excuses!
- Replies: 63
- Views: 15351