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 ?
>>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:
OP2010-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