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 ( int pointer );
int main()
{
int i ...
Search found 7 matches
- Sat Oct 17, 2015 10:50 am
- Forum: Volume 7 (700-799)
- Topic: 795 - Sandorf's Cipher
- Replies: 7
- Views: 8165
- Fri Sep 25, 2015 7:55 am
- Forum: Volume 116 (11600-11699)
- Topic: 11683 - Laser Sculpture
- Replies: 6
- Views: 7342
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

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


- Thu Sep 10, 2015 4:19 pm
- Forum: Volume 12 (1200-1299)
- Topic: 1219 - Team Arrangement
- Replies: 1
- Views: 4246
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],temp_num;
int g,d,m,s;
int ...
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],temp_num;
int g,d,m,s;
int ...
- Mon Aug 17, 2015 10:00 am
- Forum: Volume 128 (12800-12899)
- Topic: 12834 - Extreme Terror
- Replies: 4
- Views: 3358
Re: 12834 - Extreme Terror
Sahidul.CSE
Here the input is too large so you should follow a nlogn shorting approach
Here the input is too large so you should follow a nlogn shorting approach

- Sun Jun 28, 2015 9:18 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10226 - Hardwood Species
- Replies: 121
- Views: 56127
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 ...
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 ...
- Fri Jun 26, 2015 9:30 pm
- Forum: Volume 15 (1500-1599)
- Topic: 1588 - Kickdown
- Replies: 1
- Views: 2183
Re: 1588 - Kickdown
Getting WA 
Any critical inputs ?

Any critical inputs ?

- Tue Apr 28, 2015 9:51 am
- Forum: Volume 15 (1500-1599)
- Topic: 1584 - Circular Sequence
- Replies: 3
- Views: 3473
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);
for ...
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);
for ...