nightmare problem

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

given a set of points * on the plane, print the points in clockwise order starting from the positive x axis.

Options

exec is denied

rejudge feature is enabled

now post-mortem time, all source codes will be revealed

Sample input:_

        *      |       *  *    
       *    *  |               
               |   *   *     * 
               |     *         
        *      |    *    *     
               |           * * 
           *   |  *       *    
          *    |    *          
            *  |               
               |       *       
               |               
               |               
  *          **|               
               |     *         
               |    *          
*--------------+---------------
           *   |               
               |           *   
               |               
          *    |   *           
     *         |  *     *      
               |               
     **      * |               
       *       |*    *         
       *       |               
               |        *      
             * |               
               |               
      * *   *  |               
*            * |               
  *       *    |               

Sample output:

(5, 1)
(6, 2)
(14, 10)
(8, 6)
(11, 9)
(12, 10)
(14, 13)
(10, 11)
(11, 15)
(5, 8)
(8, 13)
(8, 15)
(6, 12)
(5, 11)
(3, 9)
(4, 13)
(-3, 14)
(-1, 3)
(-3, 7)
(-4, 9)
(-7, 15)
(-8, 14)
(-5, 8)
(-7, 11)
(-2, 3)
(-13, 3)
(-15, 0)
(-4, -1)
(-10, -5)
(-10, -7)
(-9, -7)
(-5, -4)
(-15, -14)
(-8, -8)
(-8, -9)
(-13, -15)
(-9, -13)
(-7, -13)
(-5, -15)
(-2, -7)
(-3, -13)
(-2, -11)
(-2, -14)
(1, -8)
(3, -5)
(6, -8)
(9, -10)
(4, -4)
(9, -5)
(12, -2)

Ranking

Perl _

RankUserSizeTimeDateStatistics
1tails730.01572023/04/27 11:02:291B / 31B / 39B

Python _

RankUserSizeTimeDateStatistics
1xnor1130.03082023/05/03 14:58:220B / 65B / 36B
2*counterclockwise 🤓4930.03032023/04/26 18:50:210B / ?B / ?B

Python3 _

RankUserSizeTimeDateStatistics
1xnor1100.04592023/05/03 15:00:500B / 62B / 37B
2lynn1310.04942023/04/27 00:54:580B / 80B / 39B

JavaScript _

RankUserSizeTimeDateStatistics
1ZED.CWT1430.02472023/04/27 12:21:520B / 69B / 69B

Atlas _

RankUserSizeTimeDateStatistics
1darrenks520.27692023/05/03 13:56:050B / 9B / 42B
2tails520.33222023/05/09 17:21:040B / 11B / 40B
3darrenks(readable)1230.21362023/05/03 14:28:200B / 66B / 39B
4tails (readable)1880.20822023/05/09 17:22:540B / 64B / 63B
5tails (darrenks)500.19352023/05/10 13:39:130B / 10B / 39B

C _

RankUserSizeTimeDateStatistics
1tails1300.01402023/05/10 12:06:410B / 73B / 56B

Java _

RankUserSizeTimeDateStatistics
1rotary-o1840.08892023/04/30 23:34:580B / 131B / 50B

Bash _

RankUserSizeTimeDateStatistics
1Fleur860.01592023/04/28 11:25:560B / 41B / 41B
2McBusLuck1080.01372023/04/29 20:35:450B / 55B / 46B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1tails1310.03142023/04/27 12:10:270B / 43B / 78B
2McBusLuck1650.04622023/04/27 05:36:510B / 125B / 34B

bc _

RankUserSizeTimeDateStatistics
1McBusLuck1870.01142023/04/29 20:10:390B / 142B / 41B

gs2 _

RankUserSizeTimeDateStatistics
1tails380.08302023/04/27 11:20:3616B / 9B / 8B
2whio380.07912023/04/29 22:03:2020B / 8B / 8B
3tails (whio)330.09302023/05/12 09:42:3718B / 8B / 5B
4whio (tails)340.13162023/05/11 21:04:3617B / 8B / 6B
5whio360.12452023/05/11 20:52:0816B / 10B / 7B
6tails (whio) mata yacchimatta370.08812023/05/10 13:49:4215B / 9B / 8B

Nibbles _

RankUserSizeTimeDateStatistics
1tails330.02062023/05/01 12:40:2118B / 9B / 5B

Scala _

RankUserSizeTimeDateStatistics
1rotary-o1384.38062023/04/30 23:34:430B / 67B / 70B

Language Ranking_

RankLangUserSizeScore
1Nibblestails3310000
2gs2tails (whio)3310000
3Atlastails (darrenks)506600
4Perltails734520
5BashFleur863837
6Python3xnor1103000
7Pythonxnor1132920
8Ctails1302538
9Bash (builtins)tails1312519
10Scalarotary-o1382391
11JavaScriptZED.CWT1432307
12Javarotary-o1841793
13bcMcBusLuck1871764

return to the top page