Search found 14 matches
- Tue Nov 24, 2009 5:52 am
- Forum: Volume 6 (600-699)
- Topic: 662 - Fast Food
- Replies: 22
- Views: 13074
Is it DP?
I tried to find the recurrence equation but I failed... plz explain the algorithm for it...
- Wed Nov 05, 2008 11:11 am
- Forum: Volume 101 (10100-10199)
- Topic: 10188 - Automated Judge Script
- Replies: 58
- Views: 37377
I don't know why this program get RE... plz check this code
#include <stdio.h>
#include <string.h>
#include <ctype.h>
int main(void){
char answer[81*50], submit[81*50], line[50], answer_num[81*50], submit_num[81*50];
int runs, answer_lines, submit_lines, answer_len, submit_len, num_match, str_match;
int i, j;
runs = 1;
while(1){
scanf("%d ...
- Mon Oct 30, 2006 1:46 pm
- Forum: Volume 9 (900-999)
- Topic: 914 - Jumping Champion
- Replies: 37
- Views: 25787
Thank you very much, JAN...
hmm my program gives different answer.
Both of two cases, it says "No jumping champion" ...
Maybe I'll have to fix my code...k
Both of two cases, it says "No jumping champion" ...
Maybe I'll have to fix my code...k
- Mon Oct 30, 2006 10:58 am
- Forum: Volume 9 (900-999)
- Topic: 914 - Jumping Champion
- Replies: 37
- Views: 25787
914 - Jumping Champion
I got WA at problem 914(Jumping Champion).
But I can't find the bugs... I'm so sad now...
Would you mind giving some test input and output? Or plzzzzz notify me my fault...
-----------------------------------------------------------------------------------
#include <stdio.h>
#include <math.h ...
But I can't find the bugs... I'm so sad now...
Would you mind giving some test input and output? Or plzzzzz notify me my fault...
-----------------------------------------------------------------------------------
#include <stdio.h>
#include <math.h ...
- Fri Oct 20, 2006 4:52 pm
- Forum: Volume 1 (100-199)
- Topic: 128 - Software CRC
- Replies: 62
- Views: 14560
128(Software CRC) TLE;;;
I got time limit exceed at 128.
I used big_mod calculation, using for question number 374(big mod). Of course, 374 is accepted.
I tried very very long string, but it works fast!!! I REALLY don't know why my program got TLE...
Here's my code. Plz help me~;;; and I didn't ignore blanks ...
I used big_mod calculation, using for question number 374(big mod). Of course, 374 is accepted.
I tried very very long string, but it works fast!!! I REALLY don't know why my program got TLE...
Here's my code. Plz help me~;;; and I didn't ignore blanks ...
- Mon Aug 14, 2006 5:06 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10062 - Tell me the frequencies!
- Replies: 235
- Views: 69533
huu...
I changed the size of array to 1010, but still get WA. Give me a suggestion or valid test case i/o...plz
- Fri Aug 11, 2006 8:17 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10038 - Jolly Jumpers
- Replies: 445
- Views: 152668
Thanks Daveon,, but
Yes, my code says 1 is jolly but still got wrong answer... I don't know what to do... falling in panic...
Ah, if you can, it is very kind of you to give some test cases...
Ah, if you can, it is very kind of you to give some test cases...
- Sun Aug 06, 2006 12:46 pm
- Forum: Volume 4 (400-499)
- Topic: 444 - Encoder and Decoder
- Replies: 155
- Views: 44481
444 WA, plz help me!!
I don't know why it's wrong. I have tried many test cases, but it seeems to work correctly. Please find bugs in this program!!
#include <stdio.h>
#include <string.h>
char result[1000], input[1000];
int result_top, str_length;
int power(int m, int n){ /* returns m^n */
int i, result=1;
for(i=0 ...
#include <stdio.h>
#include <string.h>
char result[1000], input[1000];
int result_top, str_length;
int power(int m, int n){ /* returns m^n */
int i, result=1;
for(i=0 ...
- Fri Aug 04, 2006 4:05 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10038 - Jolly Jumpers
- Replies: 445
- Views: 152668
Thanks. ^^; But I got WA again...
the modified part of code..
-------------------------------------
for(i=0; i<2999; i++)
diff_break_out = 0;
is_jolly = 1;
if(seq_num!=0)
scanf("%d", &old_num);
else is_jolly = 0;
for(i=1; i<seq_num; i++){
scanf("%d", &new_num);
diff = abs(old_num - new_num);
printf("%d ", diff);
When ...
-------------------------------------
for(i=0; i<2999; i++)
diff_break_out = 0;
is_jolly = 1;
if(seq_num!=0)
scanf("%d", &old_num);
else is_jolly = 0;
for(i=1; i<seq_num; i++){
scanf("%d", &new_num);
diff = abs(old_num - new_num);
printf("%d ", diff);
When ...
- Fri Aug 04, 2006 9:35 am
- Forum: Volume 100 (10000-10099)
- Topic: 10062 - Tell me the frequencies!
- Replies: 235
- Views: 69533
10062 WA;;;
I really don't know why I got WA. What's the matter with this code?
Plz help me~~
-----------------------------------------------------------------------------
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define MAX_LENGTH 1000
char string[MAX_LENGTH];
typedef struct _data{
char ...
Plz help me~~
-----------------------------------------------------------------------------
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define MAX_LENGTH 1000
char string[MAX_LENGTH];
typedef struct _data{
char ...
- Fri Aug 04, 2006 3:50 am
- Forum: Volume 100 (10000-10099)
- Topic: 10082 - WERTYU
- Replies: 57
- Views: 16598
10082 WA....
I don't know why I got WA. Plz help me!!
Here is my code.
----------------------------------------------------
#include <stdio.h>
#include <string.h>
char keyboard[] = "`1234567890-=QWERTYUIOP[]ASDFGHJKL;'ZXCVBNM,./";
char input[100];
int main(void){
unsigned int i, j, key_len, input_len;
key ...
Here is my code.
----------------------------------------------------
#include <stdio.h>
#include <string.h>
char keyboard[] = "`1234567890-=QWERTYUIOP[]ASDFGHJKL;'ZXCVBNM,./";
char input[100];
int main(void){
unsigned int i, j, key_len, input_len;
key ...
- Wed Aug 02, 2006 10:41 am
- Forum: Volume 100 (10000-10099)
- Topic: 10038 - Jolly Jumpers
- Replies: 445
- Views: 152668
10038 WA!
I got WA for 10038(Jolly Jumper). At first, I thought I misunderstood the problem, but I didn't. I don't know why my program isn't correct. Would you mind giving me an answer?
Here is my source code. :)
-----------------------------------------------------------------------------------
#include ...
Here is my source code. :)
-----------------------------------------------------------------------------------
#include ...
- Wed Aug 02, 2006 10:35 am
- Forum: Volume 3 (300-399)
- Topic: 382 - Perfection
- Replies: 95
- Views: 35303
Oh, thank you very much!
I noticed I commit a stupid mistake. I modified my source and got AC for this problem. Thank you very much 

- Tue Aug 01, 2006 1:17 am
- Forum: Volume 3 (300-399)
- Topic: 382 - Perfection
- Replies: 95
- Views: 35303
382 WA...
I checked 1 is deficient. I don't know why I got WA. Plz help me~!
Here is my code.
The code is deleted after AC.
Here is my code.
The code is deleted after AC.