Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C++ programming

Name: lold 2010-05-02 10:28

Hi /prog/!
I have several problems to solve from online judge :P
1. Float conversion from decimal to hexadecimal.
2. Point sorting by the distance from 0,0 pt.
3. Sudoku checking.
4. On cin we have lengths of two rectangles sides (a,b,c,d). Is there a possibility to put second into first rectangle ?

Name: Anonymous 2010-05-02 10:35

>>1
2. Point sorting by the distance from 0,0 pt.
Given a list of 'coords' (complex number/coordinate), here's how to do it in CL:
(sort coords #'> :key #'abs)
The rest are rather easy too, like 4.

Name: OP 2010-05-02 10:38

yeah, i know how to do it, but...
On cin we have: name of point, first coord, second coord (A 20 30 e.g)
We have to cout in the same way

Name: Anonymous 2010-05-02 12:09

CIN >> MY ANUS

Name: Anonymous 2010-05-02 12:29

>>4
thanks

Name: Anonymous 2010-05-02 12:42

That's nice to hear and I wish you good luck in solving those problems on your own!

Name: Anonymous 2010-05-02 12:45

Sad fact #1: These problems are an accurate description of problems at third or fourth year CS.
Sad fact #2: Someone will HELP HIM.

Name: Anonymous 2010-05-02 13:19

1. It's probably already in boost
2. It's probably already in boost
3. It's probably already in boost
4. It's probably already in boost

Hope this HELPED.

Name: Anonymous 2010-05-03 2:32

/prog/ is not your tutor

Name: Anonymous 2011-01-31 20:44

<-- check em dubz

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List