Search found 16 matches

by RED-C0DE
Tue Nov 06, 2007 9:55 pm
Forum: Volume 5 (500-599)
Topic: 530 - Binomial Showdown
Replies: 137
Views: 49090

hello everybody , i got RE and i cant understand why?!...

can i do better with my algo ?...
tnx...


//530 C0DED by RED-C0DE ~ 07-11-06 11:09 pm
#include <cstdio>
#include <iostream>
using namespace std;

__int64 f2(int n,int m)
{
static __int64 cache[1000][1000]={0};

if(n<1000 && m<1000 ...
by RED-C0DE
Sun Aug 12, 2007 3:52 pm
Forum: Volume 8 (800-899)
Topic: 865 - Substitution Cypher
Replies: 28
Views: 21069

i cant understand why can not get AC in this problem...

can anyone help me or give me some I/O

here is my C0DE :





//uva#865 Substitution Cypher
#include <iostream>
#include <algorithm>
#include <string>
#include <map>
#include <vector>
#include <cstdio>
//#include <fstream>

using namespace ...
by RED-C0DE
Fri Jul 20, 2007 5:44 pm
Forum: Volume 109 (10900-10999)
Topic: 10901 - Ferry Loading III
Replies: 54
Views: 32605

Please give me some Sample IO For this Problem... my program worked correctly with many IO samples...but WA... :(

tanks
by RED-C0DE
Tue Jul 17, 2007 7:57 pm
Forum: Volume 3 (300-399)
Topic: 379 - Hi-Q
Replies: 3
Views: 3096

here is my code 4 this problem :


SOLVED :lol:


here some IO :


input :


14
10 12 17 19 25 0
0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 0
1 2 3 4 5 0
1 2 ...
by RED-C0DE
Tue Jul 17, 2007 7:37 pm
Forum: Volume 3 (300-399)
Topic: 379 - Hi-Q
Replies: 3
Views: 3096

Hello everyone, could u please give me some IO samples for this problem (# 379 HI-Q)

I really need it :(

and why did just few people solved this problem... I think it's not very hard...but i can't solve it yet...

tnx 4 ur help :D
by RED-C0DE
Wed Jul 11, 2007 2:28 pm
Forum: Volume 5 (500-599)
Topic: 568 - Just the Facts
Replies: 39
Views: 21277

r there tricky test-cases? my program works correctly with many test-cases but i got WA again & again... :(

please help me.
here is my little code for this problem :


//568
#include <iostream>
using namespace std;

int main()
{
int N;

while(cin >> N)
{
unsigned long long fact = 1;

for(int ...
by RED-C0DE
Sat Jun 09, 2007 9:16 pm
Forum: Volume 2 (200-299)
Topic: 292 - Presentation Error
Replies: 8
Views: 19023

and this is my Output for those test-cases :

Code: Select all

Accepted
Wrong Answer
Presentation Error
Presentation Error
Wrong Answer
Wrong Answer
Wrong Answer
Wrong Answer
Wrong Answer
Wrong Answer
Presentation Error
by RED-C0DE
Sat Jun 09, 2007 7:32 pm
Forum: Volume 2 (200-299)
Topic: 292 - Presentation Error
Replies: 8
Views: 19023

Can somebody check this I/O?
by RED-C0DE
Mon May 14, 2007 1:43 pm
Forum: Volume 6 (600-699)
Topic: 639 - Don't Get Rooked
Replies: 11
Views: 11699

hi..
is there any special input for this problem??!??!!

my program worked correctly with many i/o. but I got WA...
please help me.. I'm a novice..

Tanks.
by RED-C0DE
Sun May 13, 2007 11:04 pm
Forum: Volume 5 (500-599)
Topic: 576 - Haiku Review
Replies: 50
Views: 22452

tanks a lot... that's realy helpful.. I had silly mistake like everyone... (just != instead of <)..

however Tanks again.
by RED-C0DE
Thu May 10, 2007 11:52 am
Forum: Volume 5 (500-599)
Topic: 576 - Haiku Review
Replies: 50
Views: 22452

hi every one...

i checked my code with many test cases and it worked correctly but Judge sending me WA... please help what's wrong with my code???

Code: Select all

//576
AC
}
by RED-C0DE
Sun Apr 08, 2007 8:08 pm
Forum: Volume 111 (11100-11199)
Topic: 11152 - Colourful Flowers
Replies: 45
Views: 28347

Hi everyone. Could u please give me some Input/Output examples with this problem???

~~~~~tnx in advance~~~~~~
by RED-C0DE
Thu Apr 05, 2007 11:35 am
Forum: Volume 4 (400-499)
Topic: 444 - Encoder and Decoder
Replies: 155
Views: 44557

Tanks Rio. I got AC :P . I didn't use atoi function and wrote a function to get Numeric Value of a string myself. so I have 1 question again>>:

Is better that we using standard functions of C , C++ or write them ourself?

my answer now is : We should writing functions that we need ourself . and how ...
by RED-C0DE
Wed Apr 04, 2007 11:28 am
Forum: Volume 4 (400-499)
Topic: 444 - Encoder and Decoder
Replies: 155
Views: 44557

Don't open a new thread if there is one already for the problem.

HINT:
There is a bug in is_In_Set()

Hi Rio and tanks 4 ur attention. but I saw all threads about this problem recently and read all of them carefully and check my Algo with some test cases that I saw there and my Algo works ...
by RED-C0DE
Sun Apr 01, 2007 8:26 pm
Forum: Volume 4 (400-499)
Topic: 444 - Encoder and Decoder
Replies: 155
Views: 44557

Please give me some input/output examples that my code cannot resolve it and I understand where is my mistakes... :-?

Go to advanced search