I've got wa in this problem, but the inputs in this thread pass. Please give some more ip where it fails.Here is my code:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define SIZE 4000
void main(){
int no_line, i, j, k, l, len, len1, len2, tmp;
char rule[100][SIZE], repla_by[100 ...
Search found 8 matches
- Mon Feb 05, 2007 6:29 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10115 - Automatic Editing
- Replies: 29
- Views: 12273
- Sat Feb 03, 2007 8:38 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10141 - Request for Proposal
- Replies: 44
- Views: 24232
WA(10141)
Hi, everyone. I'm getting WA in this easy problem.
Anybody please give some sample input where it fail.Here is my code.
#include <stdio.h>
#include <stdlib.h>
#define SIZE 500000
char ch[85];
char proposal[SIZE][85];
double cost[SIZE];
int met_req[1050];
void main(){
int n, p, i, j, max_req ...
Anybody please give some sample input where it fail.Here is my code.
#include <stdio.h>
#include <stdlib.h>
#define SIZE 500000
char ch[85];
char proposal[SIZE][85];
double cost[SIZE];
int met_req[1050];
void main(){
int n, p, i, j, max_req ...
- Wed Jan 31, 2007 7:54 pm
- Forum: Volume 2 (200-299)
- Topic: 280 - Vertex
- Replies: 95
- Views: 37491
- Wed Jan 31, 2007 7:50 pm
- Forum: Volume 2 (200-299)
- Topic: 280 - Vertex
- Replies: 95
- Views: 37491
- Wed Jan 10, 2007 5:04 am
- Forum: Volume 2 (200-299)
- Topic: 280 - Vertex
- Replies: 95
- Views: 37491
- Mon Jan 08, 2007 10:02 pm
- Forum: Volume 2 (200-299)
- Topic: 280 - Vertex
- Replies: 95
- Views: 37491
280(P.E)
Hi,everyone. I've got several times P.E. in this problem.Any help will be appreciated.Here is my code:
/* Code has been removed after acc*/
Thanks in advance.Please reply soon!!!!
/* Code has been removed after acc*/
Thanks in advance.Please reply soon!!!!
- Sun Jan 07, 2007 10:15 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10191 - Longest Nap
- Replies: 75
- Views: 43952
10191
I've tested the inputs in the forum. But still getting wrong answer.Please suggest any sample input that doesn't pass it .Here is my code:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
void INSERT_SORT(int *l,int lim){
int j,i,key;
for(j=1;j<lim;j++){
key=l[j];
i=j-1;
while(i>-1 ...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
void INSERT_SORT(int *l,int lim){
int j,i,key;
for(j=1;j<lim;j++){
key=l[j];
i=j-1;
while(i>-1 ...
- Sun Jan 07, 2007 5:44 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 109653
WA(101)
I've got wrong answer for this problem.Anybody please give some sample inputs where it doesn't pass. Here is my code:
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
void command_handle_move();
void command_handle_pile();
/*void over_handle( int pos_a, int pos_b, int pos_a1, int pos_b1 ...
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
void command_handle_move();
void command_handle_pile();
/*void over_handle( int pos_a, int pos_b, int pos_a1, int pos_b1 ...