Time Arithmetic

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

Time addition
--nn

Options

exec is denied

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

Sample input:_

01:02:03+01:02:03
01:02:03+11:22:33
11:22:33+11:22:33
23:59:59+00:00:01
00:30:30+00:30:30
03:14:15+09:26:53

Sample output:

01:02:03+01:02:03=02:04:06
01:02:03+11:22:33=12:24:36
11:22:33+11:22:33=22:45:06
23:59:59+00:00:01=00:00:00
00:30:30+00:30:30=01:01:00
03:14:15+09:26:53=12:41:08

Sample input:_

01:02:03+01:02:03
01:02:03+11:22:33
11:22:33+11:22:33
23:59:59+00:00:01
00:30:30+00:30:30
03:14:15+09:26:53
00:00:00+00:00:00
11:11:11+11:11:11
22:22:22+22:22:22
23:33:33+23:33:33
15:20:45+04:39:15
03:20:01+10:02:30
04:35:32+23:53:40
12:12:12+13:13:13
17:36:00+02:00:00
19:36:00+01:11:57
20:47:57+01:14:57
21:17:09+11:50:57

Sample output:

01:02:03+01:02:03=02:04:06
01:02:03+11:22:33=12:24:36
11:22:33+11:22:33=22:45:06
23:59:59+00:00:01=00:00:00
00:30:30+00:30:30=01:01:00
03:14:15+09:26:53=12:41:08
00:00:00+00:00:00=00:00:00
11:11:11+11:11:11=22:22:22
22:22:22+22:22:22=20:44:44
23:33:33+23:33:33=23:07:06
15:20:45+04:39:15=20:00:00
03:20:01+10:02:30=13:22:31
04:35:32+23:53:40=04:29:12
12:12:12+13:13:13=01:25:25
17:36:00+02:00:00=19:36:00
19:36:00+01:11:57=20:47:57
20:47:57+01:14:57=22:02:54
21:17:09+11:50:57=09:08:06

Sample input:_

01:02:03+01:02:03
01:02:03+11:22:33
11:22:33+11:22:33
23:59:59+00:00:01
00:30:30+00:30:30
03:14:15+09:26:53
01:02:03+02:03:04
03:04:05+04:05:06
05:06:07+06:07:08
07:08:09+08:09:10
09:10:11+10:11:12
01:02:03+01:02:03
01:02:03+11:22:33
11:22:33+11:22:33
23:59:59+00:00:01
00:30:30+00:30:30
03:14:15+09:26:53
01:02:03+02:03:04
03:04:05+04:05:06
05:06:07+06:07:08
07:08:09+08:09:10
09:10:11+10:11:12

Sample output:

01:02:03+01:02:03=02:04:06
01:02:03+11:22:33=12:24:36
11:22:33+11:22:33=22:45:06
23:59:59+00:00:01=00:00:00
00:30:30+00:30:30=01:01:00
03:14:15+09:26:53=12:41:08
01:02:03+02:03:04=03:05:07
03:04:05+04:05:06=07:09:11
05:06:07+06:07:08=11:13:15
07:08:09+08:09:10=15:17:19
09:10:11+10:11:12=19:21:23
01:02:03+01:02:03=02:04:06
01:02:03+11:22:33=12:24:36
11:22:33+11:22:33=22:45:06
23:59:59+00:00:01=00:00:00
00:30:30+00:30:30=01:01:00
03:14:15+09:26:53=12:41:08
01:02:03+02:03:04=03:05:07
03:04:05+04:05:06=07:09:11
05:06:07+06:07:08=11:13:15
07:08:09+08:09:10=15:17:19
09:10:11+10:11:12=19:21:23

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid (now)760.08742012/06/17 00:00:000B / 39B / 35B
2leonid770.07062012/06/16 02:05:360B / 33B / 40B
3clock770.04622012/06/16 10:43:560B / 39B / 35B

Perl _

RankUserSizeTimeDateStatistics
1tybalt89700.04922012/06/14 11:32:081B / ?B / ?B
2test1730.06422012/06/06 06:19:390B / ?B / ?B
3teebee780.12082012/06/03 10:08:520B / 32B / 43B
4test1(pm)680.06862012/06/28 23:08:350B / ?B / ?B
5BioFALSE1610.03682013/01/06 02:22:070B / 60B / 101B

Python _

RankUserSizeTimeDateStatistics
1clock1180.05512012/06/14 10:05:520B / 73B / 38B
2leonid1180.06542012/06/15 03:59:400B / 73B / 38B
3hallvabo1200.07172012/06/14 10:24:390B / 74B / 39B
4twobit1210.09702012/06/11 07:33:430B / 72B / 45B
5clock(no import)1240.07122012/06/11 11:09:580B / 72B / 47B
6leonid (no import)1240.08472012/06/16 07:19:450B / 72B / 47B
7hallvabo (no import)1250.08942012/06/14 11:13:110B / 73B / 47B
8twobit (no import)1280.07522012/06/11 07:04:090B / 65B / 61B
9Hendrik1290.14432012/06/15 05:25:340B / 78B / 47B

Scheme _

RankUserSizeTimeDateStatistics
1kaki1910.15862012/06/15 22:16:310B / 98B / 81B
2kaki1880.12702013/03/25 05:29:380B / 94B / 85B

JavaScript _

RankUserSizeTimeDateStatistics
10mg1060.06522012/06/16 16:28:010B / 59B / 44B
2clock1060.06302012/06/16 17:14:490B / 60B / 45B
3nn1380.08372012/06/09 21:29:390B / 68B / 70B

Lua _

RankUserSizeTimeDateStatistics
1yamaya1020.05112012/06/10 01:55:040B / 54B / 47B
2clock1030.04412012/06/10 19:03:050B / 60B / 37B
3twobit1060.03592012/06/10 07:34:380B / 63B / 37B
4Hendrik1100.03692012/06/13 04:03:470B / 57B / 52B

J _

RankUserSizeTimeDateStatistics
1I., S.730.13182012/06/03 05:20:110B / 22B / 47B
2I., S.710.31632012/06/21 06:26:530B / 21B / 46B

K _

RankUserSizeTimeDateStatistics
1twobit620.02702012/06/04 05:03:030B / 25B / 34B
2teebee640.03972012/06/04 04:03:170B / 27B / 33B
3teebee(twobit)590.04142012/06/18 08:48:080B / 26B / 29B

C _

RankUserSizeTimeDateStatistics
1nu1220.04802012/06/08 12:49:250B / 65B / 57B
2kou1230.03262012/06/14 15:24:450B / 69B / 54B
3ush1420.03552012/06/08 10:37:390B / 76B / 66B
4inaniwa1450.03232012/06/07 15:00:260B / 73B / 72B
5leonid1540.03832012/06/08 08:05:000B / 76B / 78B
6Hendrik1640.04132012/06/09 02:01:090B / 80B / 84B
7nfouille2050.03762012/06/12 00:27:132B / ?B / ?B
8smkt2190.04712012/06/05 13:56:500B / 110B / 109B
9nu(kou)1150.03482012/06/17 04:42:400B / 64B / 51B

C++ _

RankUserSizeTimeDateStatistics
1Tyler F15320.04622012/06/17 18:10:4978B / ?B / ?B

Haskell _

RankUserSizeTimeDateStatistics
1henkma1600.07662012/06/14 18:36:060B / 88B / 68B
2Hjulle2240.09372012/06/04 10:14:143B / 139B / 68B

C# _

RankUserSizeTimeDateStatistics
1Geroge2k7270.32802012/07/13 07:42:5825B / ?B / ?B

AWK _

RankUserSizeTimeDateStatistics
1yamaya880.03212012/06/08 14:41:060B / 38B / 50B

sed _

RankUserSizeTimeDateStatistics
1%201870.15022016/08/15 01:10:540B / 53B / 117B

Bash _

RankUserSizeTimeDateStatistics
1yamaya660.20022012/06/10 16:29:300B / 27B / 36B

xgawk _

RankUserSizeTimeDateStatistics
1teebee620.03962012/06/10 01:29:230B / 26B / 36B
2yamaya620.05012012/06/14 12:54:170B / 25B / 37B

GolfScript _

RankUserSizeTimeDateStatistics
1clock620.14172012/06/05 19:25:580B / 20B / 42B
2twobit660.16612012/06/09 20:08:230B / 22B / 42B

Groovy _

RankUserSizeTimeDateStatistics
1clock1233.59902012/06/13 00:46:020B / 80B / 40B
2nn1553.43552012/06/09 22:56:200B / 78B / 73B

Language Ranking_

RankLangUserSizeScore
1Kteebee(twobit)5910000
2GolfScriptclock629516
3xgawkteebee629516
4Bashyamaya668939
5Perltest1(pm)688676
6JI., S.718309
7Rubyleonid (now)767763
8AWKyamaya886704
9Luayamaya1025784
10JavaScript0mg1065566
11Cnu(kou)1155130
12Pythonclock1185000
13Groovyclock1234796
14Haskellhenkma1603687
15sed%201873155
16Schemekaki1883138
17C#Geroge2k727811
18C++Tyler F1532385

return top