Search found 20 matches

by poixp
Fri Nov 21, 2008 7:22 am
Forum: Volume 100 (10000-10099)
Topic: 10089 - Repackaging
Replies: 41
Views: 15523

More test cases: 3 7162 16586 13541 16799 28225 1564 25273 10247 12189 3 6028 5145 12303 23369 120 28610 19219 11396 8503 3 24187 24908 17135 20977 29338 11079 26167 10163 26825 3 16277 11507 4034 9738 10437 2768 13616 22265 6031 3 2539 25774 5201 1362 13182 25249 12466 23233 27583 3 26488 5026 2837...
by poixp
Wed Nov 19, 2008 10:21 pm
Forum: Volume 101 (10100-10199)
Topic: 10189 - Minesweeper
Replies: 418
Views: 79437

Re: 10189 - Minesweeper

I think the problem is here:

Code: Select all

cout<<"Field #"<<cases<<endl;
//Should be:
cout<<"Field #"<<cases<<":"<< endl;
by poixp
Wed Nov 19, 2008 6:35 pm
Forum: Volume 100 (10000-10099)
Topic: 10082 - WERTYU
Replies: 57
Views: 8726

Re: 10082 - WERTYU

Simple hints: 1. Don't use std::vector or something else for that problem. Just use static array. 2. Array must be filled such that you could simply write: cout << encode_table[ input_char ]; I'm getting WA. On my pc i've tested with several inputs...don't know why it's showing wrong answer. I have ...
by poixp
Wed Nov 19, 2008 6:17 pm
Forum: Volume 100 (10000-10099)
Topic: 10089 - Repackaging
Replies: 41
Views: 15523

WA

Hi I'm trying to solve that problem but absolutely stuck. Here what I do: 1. Convert package (s1,s2,s3) to 2D vector [s2-s1,s3-s1] 2. Sort it by angle 3. If angle of 2 neighbor vectors is exceed pi than there is no solution, otherwise it has solution I prepare some test cases, what is correct result...
by poixp
Wed May 28, 2008 2:20 pm
Forum: Volume 8 (800-899)
Topic: 848 - Fmt
Replies: 16
Views: 12526

Re: 848 - FMT

One more point. The output must end with end of line character.

Go to advanced search