Long Division FIXED

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

Solve a division problem to the nearest whole number. Show your work for full credit.

- MWI

the other version of this problem is broken whoops

Options

exec is denied

rejudge feature is enabled

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

Sample input:_

1000/9

Sample output:

     111
  ______
9 | 1000
    10
  -  9
    __
     10
   -  9
     __
      10
    -  9
      __
       1

Sample input:_

200000000/9

Sample output:

     22222222
  ___________
9 | 200000000
    20
  - 18
    __
     20
   - 18
     __
      20
    - 18
      __
       20
     - 18
       __
        20
      - 18
        __
         20
       - 18
         __
          20
        - 18
          __
           20
         - 18
           __
            2

Sample input:_

4000000/9

Sample output:

     444444
  _________
9 | 4000000
    40
  - 36
    __
     40
   - 36
     __
      40
    - 36
      __
       40
     - 36
       __
        40
      - 36
        __
         40
       - 36
         __
          4

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1rotary-o1300.04962023/02/11 15:19:060B / 38B / 84B
2Sisyphus1340.05192023/02/10 10:26:590B / 46B / 83B
3MeWhenI1600.04972023/02/09 01:12:160B / 52B / 100B

Ruby2 _

RankUserSizeTimeDateStatistics
1rotary-o1270.17112023/02/11 15:18:550B / 39B / 80B

Python _

RankUserSizeTimeDateStatistics
1hallvabo1510.09192023/02/23 00:43:450B / 57B / 81B

Python3 _

RankUserSizeTimeDateStatistics
1hallvabo1600.14002023/02/23 00:39:030B / 60B / 88B

C _

RankUserSizeTimeDateStatistics
1tails1710.04122023/02/13 13:52:020B / 78B / 89B
2rotary-o1770.04132023/02/19 22:46:062B / 78B / 92B
3rotary-o(tails)1680.04212023/02/23 08:18:140B / 76B / 88B

Java _

RankUserSizeTimeDateStatistics
1rotary-o2450.17442023/02/20 00:04:370B / 114B / 122B

C# _

RankUserSizeTimeDateStatistics
1rotary-o2530.14192023/02/20 00:04:240B / 111B / 132B

sed _

RankUserSizeTimeDateStatistics
1tails1670.04892023/02/10 11:57:340B / 57B / 69B

dc _

RankUserSizeTimeDateStatistics
1tails1250.04602023/02/22 12:21:320B / 80B / 33B

gs2 _

RankUserSizeTimeDateStatistics
1whio570.33492023/02/24 22:44:4725B / 17B / 15B

Scala _

RankUserSizeTimeDateStatistics
1rotary-o1658.88612023/02/12 00:24:580B / 57B / 90B

Language Ranking_

RankLangUserSizeScore
1gs2whio5710000
2dctails1254560
3Ruby2rotary-o1274488
4Rubyrotary-o1304384
5Pythonhallvabo1513774
6Python3hallvabo1603562
7Scalarotary-o1653454
8sedtails1673413
9Crotary-o(tails)1683392
10Javarotary-o2452326
11C#rotary-o2532252

return to the top page