Search found 7 matches
- Sat Oct 17, 2015 10:50 am
- Forum: Volume 7 (700-799)
- Topic: 795 - Sandorf's Cipher
- Replies: 7
- Views: 7561
Re: 795 - Sandorf's Cipher
getting wa :( Help please :( #include <stdio.h> #include <string.h> #include <math.h> #include <stdlib.h> #define OUTPUT freopen("myfile.txt","w",stdout); #define INPUT freopen("input.txt","r",stdin); #define MAX 100005 char inp[1005],op[1005]; void decrypt ( ...
- Fri Sep 25, 2015 7:55 am
- Forum: Volume 116 (11600-11699)
- Topic: 11683 - Laser Sculpture
- Replies: 6
- Views: 6642
Re: 11683 - Laser Sculpture
@Sahidul.CSE
you have used a lot of memory my friend
int struc[10002][10002];
and again you'll get a TLE unless you upgrade your algorithm
![:)](./images/smilies/icon_smile.gif)
you have used a lot of memory my friend
int struc[10002][10002];
and again you'll get a TLE unless you upgrade your algorithm
![:D](./images/smilies/icon_biggrin.gif)
![:)](./images/smilies/icon_smile.gif)
- Thu Sep 10, 2015 4:19 pm
- Forum: Volume 12 (1200-1299)
- Topic: 1219 - Team Arrangement
- Replies: 1
- Views: 3764
Re: 1219 - Team Arrangement
GETTING WA :( HELP PLEASE :) #include <stdio.h> #include <string.h> #include <math.h> #include <stdlib.h> #define OUTPUT freopen("myfile.txt","w",stdout); #define INPUT freopen("input.txt","r",stdin); int main() { int G_num[105],D_num[105],M_num[105],S_num[105...
- Mon Aug 17, 2015 10:00 am
- Forum: Volume 128 (12800-12899)
- Topic: 12834 - Extreme Terror
- Replies: 4
- Views: 2868
Re: 12834 - Extreme Terror
Sahidul.CSE
Here the input is too large so you should follow a nlogn shorting approach![:)](./images/smilies/icon_smile.gif)
Here the input is too large so you should follow a nlogn shorting approach
![:)](./images/smilies/icon_smile.gif)
- Sun Jun 28, 2015 9:18 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10226 - Hardwood Species
- Replies: 121
- Views: 52027
Re: 10226 - Hardwood Species
I'm getting TLE :( Would anybody kindly see what may be wrong here :/ I modified merge sort algorithm to get nlogn time but instead I'm getting TLE :/ #include <stdio.h> #include <string.h> #include <math.h> #include <stdlib.h> char L[20005][50],R[20005][50],array[20005][50]; int cnt[20005],lc[20005...
- Fri Jun 26, 2015 9:30 pm
- Forum: Volume 15 (1500-1599)
- Topic: 1588 - Kickdown
- Replies: 1
- Views: 1786
Re: 1588 - Kickdown
Getting WA ![:(](./images/smilies/icon_frown.gif)
Any critical inputs ?![:)](./images/smilies/icon_smile.gif)
![:(](./images/smilies/icon_frown.gif)
Any critical inputs ?
![:)](./images/smilies/icon_smile.gif)
- Tue Apr 28, 2015 9:51 am
- Forum: Volume 15 (1500-1599)
- Topic: 1584 - Circular Sequence
- Replies: 3
- Views: 3009
1584 - Circular Sequence
I am getting WA . :( but why :( my inputs work fine :( #include<stdio.h> #include<math.h> #include<string.h> #include<stdlib.h> char temp[1005],min[1005]; int main() { int t,i,j,n; char inp[1005]; scanf("%d",&t); while(t--) { scanf("%s",inp); n=strlen(inp); strcpy(min,inp); f...