Search found 20 matches

by necropower
Fri Jun 21, 2002 10:20 pm
Forum: Volume 7 (700-799)
Topic: 750 - 8 Queens Chess Problem
Replies: 78
Views: 38973

gimme an example , i didnt understand what u meant
by necropower
Tue Apr 23, 2002 4:36 pm
Forum: Volume 7 (700-799)
Topic: 750 - 8 Queens Chess Problem
Replies: 78
Views: 38973

i have the same problem! but my code is different since i am using pure C

could u guys tell me a multi answer correct output?

like, my program generates this answer for:

1 1
2 2
3 3
4 4

SOLN COLUMN
# 1 2 3 4 5 6 7 8

1 1 5 8 6 3 7 2 4
2 1 6 8 3 7 4 2 5
3 1 7 4 6 8 2 5 3
4 1 7 5 8 2 4 6 3 ...
by necropower
Tue Mar 26, 2002 1:57 pm
Forum: Volume 101 (10100-10199)
Topic: 10190 - Divide, But Not Quite Conquer!
Replies: 105
Views: 38442

well, the judge didnt like it, and the code still the same... :sad:
by necropower
Tue Mar 26, 2002 1:55 pm
Forum: Volume 7 (700-799)
Topic: 760 - DNA Sequencing
Replies: 33
Views: 16528

(i am using @ instead of interrogation, my keyboard is broken)

did u get accepted@
can u tell me your main idea of searching in strings@ my program is too slow and i didnt find a better way to search on the strings...

thanks,
Necropower
by necropower
Tue Mar 26, 2002 3:37 am
Forum: Volume 101 (10100-10199)
Topic: 10190 - Divide, But Not Quite Conquer!
Replies: 105
Views: 38442

can u see any problem in that?


my input:

25 5
5 5
2 2
1 2
2 1
1 1
0 1
1 0
0 2
2 0
125 5
30 3
80 2
81 3
20000000000 2
125 125

my answer:
25 5 1
5 1
2 1
Boring!
Boring!
Boring!
Boring!
Boring!
Boring!
Boring!
125 25 5 1
Boring!
Boring!
81 27 9 3 1
Boring!
125 1
by necropower
Mon Mar 25, 2002 10:01 pm
Forum: Volume 7 (700-799)
Topic: 760 - DNA Sequencing
Replies: 33
Views: 16528

760

hey guys , i noticed that the input and the output for the first case is kind of odd.
it shows "atgc","tgc"
but the output is "tg"
isnt it "tgc"???
can u explain that?

thanks
[[]]'s Necropower
by necropower
Mon Mar 25, 2002 3:18 pm
Forum: Volume 101 (10100-10199)
Topic: 10195 - The Knights Of The Round Table
Replies: 59
Views: 22726

(my keyboard is with a problem in the interrogation key, i will be using @ instead)

can u tell me how did u find these equations for the answer@
i couldnt figure it out using math... :sad:

thanks,
Necropower
by necropower
Sat Mar 23, 2002 9:32 pm
Forum: Volume 101 (10100-10199)
Topic: 10190 - Divide, But Not Quite Conquer!
Replies: 105
Views: 38442

10190 - Divide, But Not Quite Conquer!

can u guys tell me a counter-example where my program fails? i am not seeing it! and the problem looks so easy, i am fealling ashamed to ask about this one... :sad:(



#include <stdio.h>
#include <math.h>

float divider,number,temp,answer,temp2;


main()
{
int i;
number =1;
scanf("%f %f",&number,
by necropower
Sun Jan 27, 2002 4:13 am
Forum: Volume 2 (200-299)
Topic: 294 - Divisors
Replies: 91
Views: 39225

i am becoming crazy with this prb.. i dont know where is my error... :sad:(
by necropower
Sun Jan 27, 2002 4:07 am
Forum: Other words
Topic: to judge online team, suggestion...
Replies: 5
Views: 3232

well, same answer...
i even used from 1 to 1000000
just to make sure... :sad:

so, i dont have a damned clue where my program is wrong... :sad:
by necropower
Sat Jan 26, 2002 6:30 pm
Forum: Other words
Topic: to judge online team, suggestion...
Replies: 5
Views: 3232

well, lemme give u an example , i think i had solved the problem 294..
all my solutions r the same as a friend of mine X did... however the judge online doesnt accept my program giving me a wrong answer but my friends get`s accept...
we tested both our programs , checked the answers using the DIFF ...
by necropower
Sat Jan 26, 2002 1:38 pm
Forum: Other words
Topic: to judge online team, suggestion...
Replies: 5
Views: 3232

most times we work more on finding a way to send and make the judge online accept our answers than making the program works really good...
so, a suggestion that i am thinking is this:
when a program doenst match your database tests, u could instead of saying WRONG ANSWER tell him something like ...
by necropower
Fri Jan 25, 2002 1:53 am
Forum: Volume 2 (200-299)
Topic: 294 - Divisors
Replies: 91
Views: 39225

this program now should work, but it doenst... any idea?
:sad:
ps: BTW, i am getting WRONG ANSWER not other thing... :sad:

#include <math.h>
#include <stdio.h>

main()
{
int max,k, i, q, j, maior , maior_n,inicio,fim;

maior_n = maior = q = 0;


scanf("%d",&max);

for(k = 0; k < max ; k ...
by necropower
Thu Jan 24, 2002 12:41 pm
Forum: Volume 2 (200-299)
Topic: 294 - Divisors
Replies: 91
Views: 39225

can i do it to every problem? read a input and already put the output??
because i remmember a program[the 3n+1,100] that i had to read ALL the inputs first AND after read them all, put all the outputs.

like, i couldnt read on number then output the answer, then read another number then output the ...
by necropower
Thu Jan 24, 2002 12:33 pm
Forum: Volume 2 (200-299)
Topic: 294 - Divisors
Replies: 91
Views: 39225

bro, ok, i will use a dynamic allocation array... however, i dont think that this is the problem... :smile:)

thanks for the idea...

[[]]'s Necropower

ps:did u see any other problem?



<font size=-1>[ This Message was edited by: necropower on 2002-01-24 11:43 ]</font>

Go to advanced search