Arithmetic derivative

Submit

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

Compute and print the arithmetic derivative of a space-separated list of positive integers. If an entry is not a positive integer, output "Wait, that's not a number..." (without the quotes) and move on to the next entry.

Options

exec is denied

rejudge feature is enabled

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

Sample input:_

`9 983 74 Raymond 439 12 0 1 783 469 21Savage 773 125 385 101 785 285 994 1008 375 3.3 295 584 221 364 128 477 E622`

Sample output:

```6
1
39
Wait, that's not a number...
1
16
0
0
810
74
Wait, that's not a number...
1
75
167
1
162
167
653
2832
350
Wait, that's not a number...
64
884
30
444
448
327
Wait, that's not a number...```

Sample input:_

`one 1 two 2 three 3 four 4 five 6 876 2 20 200 2000 20000 200000 -199999 -19999 -1999 -199 -19 -1 250250 765 1058 373 1284`

Sample output:

```Wait, that's not a number...
0
Wait, that's not a number...
1
Wait, that's not a number...
1
Wait, that's not a number...
4
Wait, that's not a number...
5
1180
1
24
380
5200
66000
800000
-1
-2864
-1
-1
-1
0
353025
708
621
1
1724```

Sample input:_

`59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 fiftynine 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59`

Sample output:

```1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
Wait, that's not a number...
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1```

Ranking

Ruby_

RankUserSizeTimeDateStatistics
1rotary-o1180.25792023/10/04 23:22:200B / 60B / 44B

Ruby2_

RankUserSizeTimeDateStatistics
1rotary-o1170.32752023/10/05 19:37:090B / 61B / 43B

Perl_

RankUserSizeTimeDateStatistics
1tails1050.15162023/10/05 22:46:250B / 46B / 53B

Python_

RankUserSizeTimeDateStatistics
1hallvabo1530.71552023/10/20 17:37:160B / 87B / 47B

Python3_

RankUserSizeTimeDateStatistics
1hallvabo1540.76112023/10/17 07:28:160B / 84B / 50B
2orthoplex1970.17922023/10/04 05:12:320B / 116B / 52B
3albanian_laundromat2250.20752023/10/13 13:03:140B / 104B / 48B

JavaScript_

RankUserSizeTimeDateStatistics
1ZED.CWT1330.15802023/10/07 06:43:410B / 73B / 50B

C_

RankUserSizeTimeDateStatistics
1tails1530.04432023/10/05 15:01:200B / 73B / 75B
2rotary-o1530.04242023/10/06 00:16:240B / 81B / 68B
3tails (rotary-o)1480.04292023/11/01 10:33:060B / 78B / 66B

Java_

RankUserSizeTimeDateStatistics
1rotary-o2390.26682023/10/06 12:03:500B / 144B / 83B

C#_

RankUserSizeTimeDateStatistics
1rotary-o2320.14642023/10/05 23:17:100B / 144B / 73B

Bash (builtins)_

RankUserSizeTimeDateStatistics
1tails1260.21092023/10/30 15:17:070B / 60B / 51B
2tails1250.20592023/11/01 09:58:460B / 59B / 51B

gs2_

RankUserSizeTimeDateStatistics
1tails520.84442023/10/04 15:08:569B / 30B / 9B
2whio540.80462023/11/01 00:10:1810B / 29B / 10B

Nibbles_

RankUserSizeTimeDateStatistics
1tails490.11622023/10/05 16:50:2933B / 11B / 5B

Scala_

RankUserSizeTimeDateStatistics
1rotary-o1577.20882023/10/04 23:49:550B / 96B / 48B

Language Ranking_

RankLangUserSizeScore
1Nibblestails4910000
2gs2tails529423
3Perltails1054666
4Ruby2rotary-o1174188
5Rubyrotary-o1184152
6Bash (builtins)tails1253920
7JavaScriptZED.CWT1333684
8Ctails (rotary-o)1483310
9Pythonhallvabo1533202
10Python3hallvabo1543181
11Scalarotary-o1573121
12C#rotary-o2322112
13Javarotary-o2392050