Search found 32 matches

by oriol78
Fri Jul 23, 2004 6:28 pm
Forum: Volume 1 (100-199)
Topic: 116 - Unidirectional TSP
Replies: 226
Views: 37136

thanks but...
i think that the row 10 isn't accesible from the row 1, why am i wrong?
the same with 2 and 11
and the result of your sequence is 15,
maybe i don't understand correctly the exercise, plz help me.
by oriol78
Fri Jul 23, 2004 11:41 am
Forum: Volume 1 (100-199)
Topic: 116 - Unidirectional TSP
Replies: 226
Views: 37136

116 output please

Can anybody post the output for this input please? thanks for advance 12 14 1 2 2 1 1 1 1 1 1 1 1 1 1 2 1 1 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 1 1 1 1 ...
by oriol78
Tue Mar 09, 2004 11:41 am
Forum: Volume 5 (500-599)
Topic: 549 - Evaluating an Equations Board
Replies: 13
Views: 4990

549

Hi, can anybody posts inputs an outputs please? tanks for advance
:)
by oriol78
Fri Sep 26, 2003 1:18 pm
Forum: Volume 101 (10100-10199)
Topic: 10103 - Karpovich blocks
Replies: 21
Views: 8432

Bloks of NxNxN ....

your input is a bad input

(sorry my english is poor, i know my answer is poor too :-P)

but i think u r right in general
by oriol78
Mon Sep 22, 2003 3:44 pm
Forum: Volume 1 (100-199)
Topic: 104 - Arbitrage
Replies: 223
Views: 14590

104 TLE

i'm trying to solve this problem using the Floyd-Warshall algorithm, but jufge replies me TLE anyway, can anybody helpp me plz? thx a lot this is my code: [cpp] /* @JUDGE_ID: xxxxxxx 104 C++ */ /* @BEGIN_OF_SOURCE_CODE */ //#import <iostream> #include <iostream> #include <utility> #include <vector> ...
by oriol78
Mon Sep 08, 2003 11:29 am
Forum: Volume 105 (10500-10599)
Topic: 10548 - Find the Right Changes
Replies: 6
Views: 2988

hi

hi, i have problems with my code, judge always replies me WA, can anybody helps me plz?? (sorry about my english) first i try to solve the diophantic equation, if there are any solutions, the solution of the problem is the size of the subset of values of x and y when x and y are non_negatives, this ...
by oriol78
Sat Sep 06, 2003 1:02 pm
Forum: Volume 105 (10500-10599)
Topic: 10535 - Shooter
Replies: 25
Views: 49134

10535....

hi, can anybody tell me what is the output for this input plz?: 2 0 0 0 2 0 0 2 0 0 0 0 thx :-) and... well. this is my code, can u check it too plz? :-P thx again PD: sorry about my english [cpp] #include <iostream> #include <vector> #include <utility> #include <math.h> #include <algorithm> #includ...
by oriol78
Tue Aug 19, 2003 12:07 pm
Forum: Volume 2 (200-299)
Topic: 218 - Moth Eradication
Replies: 60
Views: 10933

4
0 0
0 1
1 1
1 0
by oriol78
Sat Aug 16, 2003 1:22 pm
Forum: Volume 2 (200-299)
Topic: 218 - Moth Eradication
Replies: 60
Views: 10933

never mind

hi everybody, i'm trying to solve the problem 218 but judge always replies me WA, this is my code and my tests: [cpp] /* @JUDGE_ID: xxxxxxx 218 C++ */ /* @BEGIN_OF_SOURCE_CODE */ #include <iostream> #include <vector> #include <algorithm> #include <utility> #include <math.h> #include <stdio.h> using ...
by oriol78
Fri Aug 15, 2003 9:29 am
Forum: Volume 2 (200-299)
Topic: 216 - Getting in Line
Replies: 57
Views: 24791

thx

well, first i must sort the points, thx, but i'm WA again, can anybody test again my code? :-( [cpp] #include <iostream> #include <vector> #include <utility> #include <math.h> #include <map> #include <stdio.h> #include <algorithm> using namespace std; long double dist2(pair<int,int> x, pair<int,int>...
by oriol78
Thu Aug 14, 2003 11:47 am
Forum: Volume 2 (200-299)
Topic: 216 - Getting in Line
Replies: 57
Views: 24791

hi everybody

first of all sorry about my english .. :-P well, i try to solve this problem using the next permutation funcion too, but judge always rpelies me WA and i can't see my mistake, can anybody help me plz? thx a lot [cpp] #include <iostream> #include <vector> #include <utility> #include <math.h> #include...
by oriol78
Tue Aug 12, 2003 4:23 pm
Forum: Volume 3 (300-399)
Topic: 333 - Recognizing Good ISBNs
Replies: 166
Views: 22298

thx !!!!

thx a lot, i don't think about whitespaces in the string
by oriol78
Tue Aug 12, 2003 12:29 pm
Forum: Volume 3 (300-399)
Topic: 333 - Recognizing Good ISBNs
Replies: 166
Views: 22298

never mind

never mind
by oriol78
Fri Jul 25, 2003 11:29 am
Forum: Volume 3 (300-399)
Topic: 343 - What Base Is This?
Replies: 72
Views: 21688

sorry, my english is poor and i don't understand any question...
for 12 5
why the output is 3 and 6
3 and 2 is not correct?
1*(3^1) + 2*(3^0) = 5
5*(2^0) = 5 too
can anyboy explain me plz? thx :-P
by oriol78
Thu Jul 24, 2003 4:11 pm
Forum: Volume 2 (200-299)
Topic: 260 - Il Gioco dell'X
Replies: 19
Views: 5318

hi, it's me again, with 260!

i'm sure that my solution is correct but obiously i'm wrong, hehe [cpp] /* @BEGIN_OF_SOURCE_CODE */ #include <iostream> #include <vector> #include <map> #include <utility> using namespace std; map<pair<int,int>, bool> memDyn; map<pair<int,int>, bool>::iterator it; vector<vector<char> > board(200,vec...

Go to advanced search