Search found 7 matches

by sobhan naderi
Tue Sep 19, 2006 12:55 pm
Forum: Volume 101 (10100-10199)
Topic: 10100 - Longest Match
Replies: 95
Views: 34880

10100

note that you digits persist in the input string and you shouldn't replace them whict space.
by sobhan naderi
Tue Sep 05, 2006 3:21 pm
Forum: Volume 7 (700-799)
Topic: 714 - Copying Books
Replies: 29
Views: 25416

Use binary search to find the maximum number of pages and then check whether it is possible to find a configuration or not.

the total time as much as would be 500*log(500*10000000) at most
by sobhan naderi
Mon Sep 04, 2006 10:31 am
Forum: Volume 7 (700-799)
Topic: 742 - Domino Game
Replies: 4
Views: 3431

742 WA

Hello.
the player can put his piece on each end. is this right?
i got wrong for this problem several times :cry:
can you give me some test cases plz
by sobhan naderi
Sun Sep 03, 2006 7:57 pm
Forum: Volume 7 (700-799)
Topic: 790 - Head Judge Headache
Replies: 49
Views: 22920

the output for your input

Hello dear friend. this is my PE code output for the above input.

RANK TEAM PRO/SOLVED TIME
1 5 3 203
2 3 2 300
2 7 2 300
4 6 1 20
5 17 1 120
6 2 1 121
7 1 1 131
8 8 1 154
9 9 1 163
10 10 1 164
11 11 1 165
12 22 1 300
13 4
13 12
13 13
13 14
13 15
13 16
13 18
13 19
13 ...
by sobhan naderi
Sat Sep 02, 2006 11:47 am
Forum: Volume 7 (700-799)
Topic: 742 - Domino Game
Replies: 4
Views: 3431

:D
by sobhan naderi
Sat Sep 02, 2006 11:42 am
Forum: Volume 7 (700-799)
Topic: 724 - Reverse
Replies: 14
Views: 7250

724(WA)

here is my C++ code #include <iostream>
#include <string>

using namespace std;

struct rect{
int x, y;
}piece[2][15];
int n, p[2][15], turn, h, t;

void chugh(int a, int &lval, int val)
{
p[turn][a]=0;
lval=val;
turn=1-turn;
}
void dechugh(int a, int &lval, int val)
{
turn=1-turn;
lval=val ...
by sobhan naderi
Sat Sep 02, 2006 9:04 am
Forum: Volume 7 (700-799)
Topic: 742 - Domino Game
Replies: 4
Views: 3431

742(domino game)

Hello dear friends.
I get WA in this problem. I have solved it with bt.
can Ne1 give me some test data?

Go to advanced search