add 1 to numbers
Submit
Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.
Problem
Add 1 to all numbers (digits 0-9 appearing consecutively) in the input text.
(texts taken from Wikipedia)
Options
exec is denied
rejudge feature is enabled
now post-mortem time, all source codes will be revealed
Sample input:_
The kanji that make up Japan's name mean "sun origin", and it is often called
the "Land of the Rising Sun". Japan is a stratovolcanic archipelago consisting
of about 6,852 islands. The four largest are Honshu, Hokkaido, Kyushu, and
Shikoku, which make up about ninety-seven percent of Japan's land area and
often are referred to as home islands. The country is divided into 47
prefectures in eight regions, with Hokkaido being the northernmost prefecture
and Okinawa being the southernmost one. The population of 127 million is the
world's tenth largest, of which 98.5% are ethnic Japanese. 90.7% of people
live in cities, while 9.3% live in the countryside. About 13.8 million people
live in Tokyo, the capital of Japan. The Greater Tokyo Area is the most
populous metropolitan area in the world with over 38 million people.
Sample output:
The kanji that make up Japan's name mean "sun origin", and it is often called
the "Land of the Rising Sun". Japan is a stratovolcanic archipelago consisting
of about 7,853 islands. The four largest are Honshu, Hokkaido, Kyushu, and
Shikoku, which make up about ninety-seven percent of Japan's land area and
often are referred to as home islands. The country is divided into 48
prefectures in eight regions, with Hokkaido being the northernmost prefecture
and Okinawa being the southernmost one. The population of 128 million is the
world's tenth largest, of which 99.6% are ethnic Japanese. 91.8% of people
live in cities, while 10.4% live in the countryside. About 14.9 million people
live in Tokyo, the capital of Japan. The Greater Tokyo Area is the most
populous metropolitan area in the world with over 39 million people.
Sample input:_
Ludwig van Beethoven (baptised 17 December 1770 - 26 March 1827) was a German
composer and pianist. A crucial figure in the transition between the Classical
and Romantic eras in classical music, he remains one of the most recognised
and influential of all composers. His best-known compositions include 9
symphonies; 5 piano concertos; 1 violin concerto; 32 piano sonatas; 16 string
quartets; a mass, the Missa solemnis; and an opera, Fidelio. His career as a
composer is conventionally divided into early, middle, and late periods; the
"early" period is typically seen to last until 1802, the "middle" period from
1802 to 1812, and the "late" period from 1812 to his death in 1827.
Beethoven was born in Bonn, then the capital of the Electorate of Cologne and
part of the Holy Roman Empire. He displayed his musical talents at an early age
and was taught by his father Johann van Beethoven and composer and conductor
Christian Gottlob Neefe. At the age of 21 he moved to Vienna, where he began
studying composition with Joseph Haydn and gained a reputation as a virtuoso
pianist. He lived in Vienna until his death. By his late 20s his hearing began
to deteriorate and by the last decade of his life he was almost completely
deaf. In 1811 he gave up conducting and performing in public but continued to
compose; many of his most admired works come from these last 15 years of his
life, commonly known as his "late" period.
Sample output:
Ludwig van Beethoven (baptised 18 December 1771 - 27 March 1828) was a German
composer and pianist. A crucial figure in the transition between the Classical
and Romantic eras in classical music, he remains one of the most recognised
and influential of all composers. His best-known compositions include 10
symphonies; 6 piano concertos; 2 violin concerto; 33 piano sonatas; 17 string
quartets; a mass, the Missa solemnis; and an opera, Fidelio. His career as a
composer is conventionally divided into early, middle, and late periods; the
"early" period is typically seen to last until 1803, the "middle" period from
1803 to 1813, and the "late" period from 1813 to his death in 1828.
Beethoven was born in Bonn, then the capital of the Electorate of Cologne and
part of the Holy Roman Empire. He displayed his musical talents at an early age
and was taught by his father Johann van Beethoven and composer and conductor
Christian Gottlob Neefe. At the age of 22 he moved to Vienna, where he began
studying composition with Joseph Haydn and gained a reputation as a virtuoso
pianist. He lived in Vienna until his death. By his late 21s his hearing began
to deteriorate and by the last decade of his life he was almost completely
deaf. In 1812 he gave up conducting and performing in public but continued to
compose; many of his most admired works come from these last 16 years of his
life, commonly known as his "late" period.
Sample input:_
Constructed from 1887-1889 as the entrance to the 1889 World's Fair, it was
initially criticised by some of France's leading artists and intellectuals for
its design, but it has become a global cultural icon of France and one of the
most recognisable structures in the world. The Eiffel Tower is the most-visited
paid monument in the world; 6.91 million people ascended it in 2015.
The tower is 324 metres (1,063 ft) tall, about the same height as an 81-storey
building, and the tallest structure in Paris. Its base is square, measuring 125
metres (410 ft) on each side. During its construction, the Eiffel Tower
surpassed the Washington Monument to become the tallest man-made structure in
the world, a title it held for 41 years until the Chrysler Building in New York
City was finished in 1930. Due to the addition of a broadcasting aerial at the
top of the tower in 1957, it is now taller than the Chrysler Building by 5.2
metres (17 ft). Excluding transmitters, the Eiffel Tower is the second tallest
free-standing structure in France after the Millau Viaduct.
Sample output:
Constructed from 1888-1890 as the entrance to the 1890 World's Fair, it was
initially criticised by some of France's leading artists and intellectuals for
its design, but it has become a global cultural icon of France and one of the
most recognisable structures in the world. The Eiffel Tower is the most-visited
paid monument in the world; 7.92 million people ascended it in 2016.
The tower is 325 metres (2,064 ft) tall, about the same height as an 82-storey
building, and the tallest structure in Paris. Its base is square, measuring 126
metres (411 ft) on each side. During its construction, the Eiffel Tower
surpassed the Washington Monument to become the tallest man-made structure in
the world, a title it held for 42 years until the Chrysler Building in New York
City was finished in 1931. Due to the addition of a broadcasting aerial at the
top of the tower in 1958, it is now taller than the Chrysler Building by 6.3
metres (18 ft). Excluding transmitters, the Eiffel Tower is the second tallest
free-standing structure in France after the Millau Viaduct.
Ranking
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 27 | 0.0324 | 2019/02/08 00:15:24 | 0B / 14B / 10B |
2 | Histocrat | 27 | 0.0325 | 2019/02/08 00:44:06 | 0B / 14B / 10B |
3 | mitchs | 27 | 0.0325 | 2019/02/08 01:27:47 | 0B / 14B / 10B |
4 | rotary-o | 27 | 0.0324 | 2019/02/08 22:06:39 | 0B / 14B / 10B |
5 | llhuii | 27 | 0.0325 | 2019/02/14 12:08:22 | 0B / 14B / 10B |
6 | test | 37 | 0.0322 | 2019/02/16 18:10:16 | 0B / 16B / 19B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 27 | 0.1721 | 2019/02/08 00:27:03 | 0B / 14B / 10B |
2 | mitchs | 27 | 0.1491 | 2019/02/08 01:28:17 | 0B / 14B / 10B |
3 | rotary-o | 27 | 0.1510 | 2019/02/08 22:06:27 | 0B / 14B / 10B |
4 | llhuii | 27 | 0.1494 | 2019/02/14 12:08:33 | 0B / 14B / 10B |
5 | letranger | 27 | 0.1475 | 2019/03/03 06:56:37 | 0B / 14B / 10B |
6 | krswtkhr | 46 | 0.1499 | 2019/02/08 15:09:23 | 0B / 20B / 26B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | mitchs | 27 | 0.0333 | 2019/02/08 02:10:34 | 0B / 12B / 13B |
2 | tails | 27 | 0.0537 | 2019/02/08 08:47:44 | 0B / 12B / 13B |
3 | llhuii | 27 | 0.0332 | 2019/02/14 12:07:20 | 0B / 12B / 13B |
4 | teebee | 27 | 0.0328 | 2019/02/16 18:27:59 | 0B / 12B / 13B |
5 | Hendrik | 28 | 0.0327 | 2019/02/18 05:55:10 | 0B / 12B / 14B |
6 | lynn | 28 | 0.0322 | 2019/03/01 07:37:56 | 0B / 12B / 14B |
7 | Hydrazer | 27 | 0.0457 | 2022/12/21 23:30:48 | 0B / 12B / 13B |
8 | kotatsugame | 28 | 0.0352 | 2019/03/14 23:35:32 | 0B / 12B / 14B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | mitchs | 81 | 0.0711 | 2019/02/08 11:28:21 | 0B / 51B / 26B |
2 | clock | 81 | 0.0729 | 2019/02/10 16:43:24 | 0B / 50B / 27B |
3 | llhuii | 81 | 0.0733 | 2019/02/14 12:17:41 | 0B / 49B / 29B |
4 | xnor | 81 | 0.0701 | 2019/02/17 03:59:11 | 0B / 51B / 26B |
5 | test | 81 | 0.0735 | 2019/02/24 21:20:09 | 0B / 51B / 26B |
6 | Hendrik | 81 | 0.0724 | 2019/02/24 21:20:42 | 0B / 51B / 26B |
7 | hallvabo | 82 | 0.0855 | 2019/02/09 02:11:01 | 0B / 50B / 28B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | mitchs | 81 | 0.1187 | 2019/02/08 12:02:35 | 0B / 50B / 28B |
2 | llhuii | 81 | 0.1416 | 2019/02/14 12:18:25 | 0B / 50B / 29B |
3 | mypetlion | 83 | 0.1234 | 2019/02/08 08:21:27 | 0B / 51B / 29B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 49 | 0.0597 | 2019/02/14 02:51:35 | 0B / 33B / 16B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | FizzyTea | 60 | 0.0506 | 2019/02/11 21:33:39 | 0B / 36B / 24B |
2 | clock | 60 | 0.0404 | 2019/02/11 23:33:09 | 0B / 37B / 23B |
3 | Hendrik | 60 | 0.0389 | 2019/02/11 23:36:44 | 0B / 37B / 23B |
4 | xulapp | 60 | 0.0414 | 2019/02/12 00:06:34 | 0B / 37B / 23B |
5 | FizzyTea (alt) | 60 | 0.0422 | 2019/02/12 04:20:05 | 0B / 37B / 23B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | Hendrik | 63 | 0.0339 | 2019/02/10 23:26:37 | 0B / 39B / 22B |
2 | clock | 63 | 0.0326 | 2019/02/10 23:40:08 | 0B / 39B / 24B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 63 | 0.0633 | 2019/02/10 17:10:21 | 0B / 35B / 20B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | llhuii | 67 | 0.0316 | 2019/02/14 16:07:22 | 0B / 31B / 36B |
2 | tails | 67 | 0.0316 | 2019/02/18 18:27:49 | 0B / 31B / 36B |
3 | chocobi | 81 | 0.0334 | 2019/02/10 09:14:28 | 0B / 36B / 45B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | Hendrik | 214 | 0.0309 | 2019/02/25 05:25:19 | 0B / 147B / 61B |
2 | test | 244 | 0.0309 | 2019/02/24 06:51:10 | 0B / 165B / 73B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 62 | 0.0337 | 2019/02/10 19:11:59 | 0B / 27B / 34B |
2 | mitchs | 62 | 0.0327 | 2019/02/14 00:21:37 | 0B / 27B / 34B |
3 | tails | 62 | 0.0329 | 2019/03/07 09:12:11 | 0B / 27B / 34B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | eban | 54 | 0.0563 | 2022/03/11 17:33:49 | 0B / 25B / 29B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 27 | 0.0084 | 2019/02/08 15:36:40 | 0B / 13B / 13B |
2 | llhuii | 27 | 0.0085 | 2019/02/16 10:08:25 | 0B / 13B / 13B |
3 | Hendrik | 28 | 0.0075 | 2019/02/23 20:15:12 | 0B / 13B / 14B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 68 | 1.0646 | 2019/02/22 09:52:03 | 0B / 25B / 35B |
2 | llhuii | 71 | 1.1961 | 2019/03/03 14:11:39 | 0B / 28B / 32B |
3 | tails (llhuii) | 67 | 1.0106 | 2019/03/08 13:48:31 | 0B / 25B / 34B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 72 | 0.2058 | 2019/02/08 00:22:04 | 0B / 28B / 41B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | llhuii | 34 | 0.0335 | 2019/02/21 16:56:44 | 0B / 17B / 17B |
2 | yamaya | 39 | 0.0320 | 2019/02/20 19:29:47 | 0B / 22B / 17B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 67 | 0.0323 | 2019/02/14 10:51:09 | 0B / 34B / 33B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 12 | 0.2029 | 2019/03/06 15:35:49 | 2B / 6B / 3B |
2 | mitchs | 13 | 0.1982 | 2019/02/08 18:54:09 | 3B / 6B / 4B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 24 | 0.0362 | 2019/02/10 20:47:15 | 3B / 13B / 5B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | Hendrik | 55 | 2.2611 | 2019/02/11 07:28:07 | 0B / 34B / 19B |
2 | clock | 55 | 2.1909 | 2019/02/11 15:11:43 | 0B / 34B / 19B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | rotary-o | 74 | 6.1497 | 2019/02/08 00:12:06 | 0B / 42B / 32B |
2 | Hendrik | 75 | 5.9909 | 2019/02/11 03:47:53 | 0B / 42B / 33B |
Language Ranking_
Rank | Lang | User | Size | Score |
1 | gs2 | tails | 12 | 10000 |
2 | goruby | mitchs | 22 | 5454 |
3 | Vim | clock | 24 | 5000 |
4 | Ruby | clock | 27 | 4444 |
5 | Ruby2 | clock | 27 | 4444 |
6 | Perl | mitchs | 27 | 4444 |
7 | Bash | tails | 27 | 4444 |
8 | Perl6 | kotatsugame | 33 | 3636 |
9 | xgawk | llhuii | 34 | 3529 |
10 | PHP | clock | 49 | 2448 |
11 | jq 1.6 | eban | 54 | 2222 |
12 | Groovy | Hendrik | 55 | 2181 |
13 | AWK | llhuii | 56 | 2142 |
14 | JavaScript | FizzyTea | 60 | 2000 |
15 | sed | clock | 62 | 1935 |
16 | Tcl | clock | 63 | 1904 |
17 | Lua | Hendrik | 63 | 1904 |
18 | m4 | tails | 67 | 1791 |
19 | C | llhuii | 67 | 1791 |
20 | Bash (builtins) | tails (llhuii) | 67 | 1791 |
21 | wake | clock | 72 | 1666 |
22 | Scala | rotary-o | 74 | 1621 |
23 | Python | mitchs | 81 | 1481 |
24 | Python3 | mitchs | 81 | 1481 |
25 | Go | Hendrik | 214 | 560 |
return to the top page