Search found 25 matches
- Tue Jan 31, 2006 11:38 am
- Forum: Volume 106 (10600-10699)
- Topic: 10679 - I Love Strings!!
- Replies: 101
- Views: 65532
Run Time Error
I am having runtime error using strstr function . Can any one tell me Why?
- Sat Oct 08, 2005 10:54 am
- Forum: Volume 103 (10300-10399)
- Topic: 10340 - All in All
- Replies: 129
- Views: 46141
How to solve LCS or Adhoc
Can this problem solve able using LCS or it is just a adhoc problem?
- Tue Sep 27, 2005 8:47 am
- Forum: Volume 3 (300-399)
- Topic: 362 - 18,000 Seconds Remaining
- Replies: 75
- Views: 35733
362 is kill me
Hi I check all the test cases that I can found they match with the output but still getting WA. I am using long and double data structure is that is the cause? some one please help me out. /* Name: 18000 seconds remaining Number: 362 Type : ad hoc Process : ON Author :Salman Zaman Email : zamansalma...
- Tue Sep 27, 2005 8:41 am
- Forum: Volume 103 (10300-10399)
- Topic: 10302 - Summation of Polynomials
- Replies: 29
- Views: 18285
10302 - data types is long long
Hi
If u r using (n*n*(n+1)*(n+1))/4 formula then use long long data type . It works for me and I got AC.
Salman
If u r using (n*n*(n+1)*(n+1))/4 formula then use long long data type . It works for me and I got AC.
Salman
- Sun Sep 25, 2005 9:35 am
- Forum: Volume 101 (10100-10199)
- Topic: 10141 - Request for Proposal
- Replies: 44
- Views: 22083
10141 Need test case!
I need some test case for this easy problem . Can anyone help?
Salman
Salman
- Fri Sep 09, 2005 12:36 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10327 - Flip Sort
- Replies: 81
- Views: 32331
how to calculate minimum operation ?
I donot understand how to calculate the minimum exchange opereation.
Can someone expline?
Can someone expline?
- Thu Sep 01, 2005 2:47 pm
- Forum: Volume 1 (100-199)
- Topic: 146 - ID Codes
- Replies: 35
- Views: 9563
146 ID Codes - WA
Hi
There is function called next_permutation() at the STL library algorithm.h
You can use that. It is just a two line program.
Salman
There is function called next_permutation() at the STL library algorithm.h
You can use that. It is just a two line program.
Salman
- Thu Sep 01, 2005 11:09 am
- Forum: Volume 101 (10100-10199)
- Topic: 10107 - What is the Median?
- Replies: 74
- Views: 28447
Thanks
Got AC using insertion sort.
- Wed Aug 31, 2005 9:14 am
- Forum: Volume 3 (300-399)
- Topic: 374 - Big Mod
- Replies: 79
- Views: 21779
Thanks
Thanks I got AC
- Mon Aug 29, 2005 1:39 pm
- Forum: Volume 3 (300-399)
- Topic: 374 - Big Mod
- Replies: 79
- Views: 21779
TLE 374 Big MOd!
How to overcome TLE?
Code: Select all
removed after AC
- Mon Aug 29, 2005 11:31 am
- Forum: Volume 4 (400-499)
- Topic: 497 - Strategic Defense Initiative
- Replies: 144
- Views: 33904
497 - Strategic Defense Initiative
WA Why?Need some LIS expert? Have some prolem to discuss with? /* Name: Strategic Defense Initiative Number: 497 Type : lis Process : ON Author :Salman Zaman Email : zamansalman@gmail.com Date : 26/08/05 23:31 */ #include<stdio.h> #include<string.h> //#include<conio.h> #define SIZE 10000 int height[...
- Mon Aug 29, 2005 11:30 am
- Forum: Volume 4 (400-499)
- Topic: 497 - Strategic Defense Initiative
- Replies: 144
- Views: 33904
Wa 497 Testing the catcher?
WA Why?Need some LIS expert? Have some prolem to discuss with? /* Name: Testing the catcher Number: 497 Type : lis Process : ON Author :Salman Zaman Email : zamansalman@gmail.com Date : 26/08/05 23:31 */ #include<stdio.h> #include<string.h> //#include<conio.h> #define SIZE 10000 int height[SIZE]; in...
- Mon Aug 29, 2005 8:20 am
- Forum: Volume 100 (10000-10099)
- Topic: 10023 - Square root
- Replies: 121
- Views: 41243
10023
Please someone check Why WA? /* Name: Squre root Number: 10023 Type : math Process : ON Author :Salman Zaman Email : zamansalman@gmail.com Date : 24/08/05 23:31 */ #include<stdio.h> #include<math.h> //#include<conio.h> int main(){ long double y; long n; // freopen("10023.txt","r"...
- Sun Aug 28, 2005 9:52 am
- Forum: Volume 2 (200-299)
- Topic: 231 - Testing the CATCHER
- Replies: 53
- Views: 22241
231 - Testing the CATCHER
Getting Wa for this code? /* Name: Testing the catcher Number: 231 Type : lis Process : ON Author :Salman Zaman Email : zamansalman@gmail.com Date : 27/08/05 23:31 */ #include<stdio.h> #include<string.h> //#include<conio.h> #define SIZE 10000 int height[SIZE]; int length[SIZE]; int predecessor[SIZE]...
- Wed Aug 24, 2005 9:58 am
- Forum: Volume 102 (10200-10299)
- Topic: 10279 - Mine Sweeper
- Replies: 102
- Views: 39479
10279
Getting WA ?Some one help? /* Name: Mine Sweeper Number: 10279 Type : simulation Process : ON Author :Salman Zaman Email : zamansalman@gmail.com Date : 15/08/05 20:10 */ #include<stdio.h> #include<string.h> //#include<conio.h> int main(){ int t,n,i,j,k; int mines[200][200]; int touch[200][200]; int ...