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.
Search found 32 matches
- Fri Jul 23, 2004 6:28 pm
- Forum: Volume 1 (100-199)
- Topic: 116 - Unidirectional TSP
- Replies: 226
- Views: 65227
- Fri Jul 23, 2004 11:41 am
- Forum: Volume 1 (100-199)
- Topic: 116 - Unidirectional TSP
- Replies: 226
- Views: 65227
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 ...
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 ...
- Tue Mar 09, 2004 11:41 am
- Forum: Volume 5 (500-599)
- Topic: 549 - Evaluating an Equations Board
- Replies: 13
- Views: 7287
549
Hi, can anybody posts inputs an outputs please? tanks for advance


- Fri Sep 26, 2003 1:18 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10103 - Karpovich blocks
- Replies: 21
- Views: 11771
- Mon Sep 22, 2003 3:44 pm
- Forum: Volume 1 (100-199)
- Topic: 104 - Arbitrage
- Replies: 223
- Views: 37239
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 ...
this is my code:
[cpp]
/* @JUDGE_ID: xxxxxxx 104 C++ */
/* @BEGIN_OF_SOURCE_CODE */
//#import <iostream>
#include <iostream>
#include <utility>
#include ...
- Mon Sep 08, 2003 11:29 am
- Forum: Volume 105 (10500-10599)
- Topic: 10548 - Find the Right Changes
- Replies: 6
- Views: 3897
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 ...
(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 ...
- Sat Sep 06, 2003 1:02 pm
- Forum: Volume 105 (10500-10599)
- Topic: 10535 - Shooter
- Replies: 25
- Views: 56332
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 ...
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 ...
- Tue Aug 19, 2003 12:07 pm
- Forum: Volume 2 (200-299)
- Topic: 218 - Moth Eradication
- Replies: 60
- Views: 19712
- Sat Aug 16, 2003 1:22 pm
- Forum: Volume 2 (200-299)
- Topic: 218 - Moth Eradication
- Replies: 60
- Views: 19712
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 ...
[cpp]
/* @JUDGE_ID: xxxxxxx 218 C++ */
/* @BEGIN_OF_SOURCE_CODE */
#include <iostream>
#include <vector>
#include <algorithm>
#include <utility>
#include <math.h>
#include <stdio.h ...
- Fri Aug 15, 2003 9:29 am
- Forum: Volume 2 (200-299)
- Topic: 216 - Getting in Line
- Replies: 57
- Views: 31057
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 ...
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 ...
- Thu Aug 14, 2003 11:47 am
- Forum: Volume 2 (200-299)
- Topic: 216 - Getting in Line
- Replies: 57
- Views: 31057
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 ...
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 ...
- Tue Aug 12, 2003 4:23 pm
- Forum: Volume 3 (300-399)
- Topic: 333 - Recognizing Good ISBNs
- Replies: 166
- Views: 40698
thx !!!!
thx a lot, i don't think about whitespaces in the string
- Tue Aug 12, 2003 12:29 pm
- Forum: Volume 3 (300-399)
- Topic: 333 - Recognizing Good ISBNs
- Replies: 166
- Views: 40698
never mind
never mind
- Fri Jul 25, 2003 11:29 am
- Forum: Volume 3 (300-399)
- Topic: 343 - What Base Is This?
- Replies: 72
- Views: 28306
- Thu Jul 24, 2003 4:11 pm
- Forum: Volume 2 (200-299)
- Topic: 260 - Il Gioco dell'X
- Replies: 19
- Views: 9206
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 ...
[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 ...