Arithmetic expressions Sergey Svistunov

Evaluate 100 arithmetic expressions as fast as possible.

Input

One expression per line on STDIN. Each expression contains 50,000 int16 numbers with operators +, -, *, / (integer division) and parentheses (, ).

-19550 - ((-14208 / (13583 + -19215)) + (-16832 / 797 + (9060 / -23627)) + ((-6060) + 24953))
30835 - 3703 - (-20089 * -6261 + ((-28985 - 29627) + (-17828 - (22773 / -4014) * 1630)))

Output

Print the int64 result of each expression, one per line, to STDOUT.

Back to listOct 11, 2021 04:54Yuriy LyfenkoYuriy LyfenkoScore: 5,457Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 11, 2021 04:505,194411,719,592150,625,186027,451,392
2Oct 11, 2021 04:545,195446,582,038150,650,928027,435,008
3Oct 11, 2021 04:475,196441,068,742150,670,769027,439,104
4Oct 11, 2021 04:505,199428,863,695150,756,593027,439,104
5Oct 11, 2021 04:515,200428,170,849150,808,251027,426,816
6Oct 11, 2021 04:505,207437,563,994150,992,238027,443,200
7Oct 11, 2021 04:515,211431,359,040151,105,185027,435,008
8Oct 11, 2021 04:545,212482,464,052151,138,772027,439,104
9Oct 11, 2021 04:475,224440,154,050151,492,622027,373,568
10Oct 11, 2021 04:545,242503,570,280152,008,439027,439,104
11Oct 11, 2021 04:475,244501,829,370152,077,527027,447,296
12Oct 11, 2021 04:515,246461,416,752152,123,487027,443,200
13Oct 11, 2021 04:545,438368,751,931125,389,00032,326,00033,533,952
14Oct 11, 2021 04:505,441365,430,616129,656,00028,142,00033,636,352
15Oct 11, 2021 04:505,446356,851,374131,107,00026,840,00033,361,920
16Oct 11, 2021 04:505,446337,392,548123,043,00034,878,00034,013,184
17Oct 11, 2021 04:515,447337,332,988124,807,00033,151,00033,640,448
18Oct 11, 2021 04:545,449359,151,557123,339,00034,689,00033,759,232
19Oct 11, 2021 04:515,450365,633,723128,670,00029,381,00033,632,256
20Oct 11, 2021 04:515,453345,646,494129,564,00028,565,00034,021,376
21Oct 11, 2021 04:475,454344,249,016127,949,00030,224,00034,021,376
22Oct 11, 2021 04:505,454372,179,861127,322,00030,835,00033,271,808
23Oct 11, 2021 04:545,456359,539,471131,516,00026,714,00033,894,400
24Oct 11, 2021 04:475,456366,853,135133,971,00024,262,00034,217,984
25Oct 11, 2021 04:475,457370,322,504133,269,00024,988,00033,533,952
26Oct 11, 2021 04:475,458334,223,181128,033,00030,244,00033,501,184
27Oct 11, 2021 04:545,459343,632,046135,103,00023,220,00034,054,144
28Oct 11, 2021 04:475,461370,059,020131,631,00026,737,00034,279,424
29Oct 11, 2021 04:505,462343,826,603130,632,00027,772,00034,013,184
30Oct 11, 2021 04:515,462368,659,229130,618,00027,769,00033,763,328
31Oct 11, 2021 04:515,462373,584,861129,962,00028,429,00034,013,184
32Oct 11, 2021 04:505,463380,170,742128,154,00030,272,00033,955,840
33Oct 11, 2021 04:515,464370,291,799138,931,00019,537,00033,566,720
34Oct 11, 2021 04:545,464356,876,794126,566,00031,890,00033,755,136
35Oct 11, 2021 04:545,466345,047,972133,479,00025,027,00034,287,616
36Oct 11, 2021 04:505,467363,741,773129,894,00028,638,00033,779,712
37Oct 11, 2021 04:515,468374,745,995133,538,00025,038,00033,792,000
38Oct 11, 2021 04:505,471348,713,779129,355,00029,307,00034,041,856
39Oct 11, 2021 04:475,475366,520,489126,223,00032,542,00033,890,304
40Oct 11, 2021 04:545,476363,813,184128,452,00030,343,00033,763,328
41Oct 11, 2021 04:515,479346,970,216129,351,00029,537,00033,533,952
42Oct 11, 2021 04:505,480372,791,347123,821,00035,098,00033,746,944
43Oct 11, 2021 04:475,486347,354,524122,449,00036,638,00034,283,520
44Oct 11, 2021 04:475,501376,165,484127,426,00032,107,00033,902,592
45Oct 11, 2021 04:545,507367,787,619137,189,00022,507,00033,927,168
46Oct 11, 2021 04:515,511366,624,969133,002,00026,806,00034,684,928
47Oct 11, 2021 04:545,512376,623,947126,869,00032,966,00035,057,664
48Oct 11, 2021 04:475,514377,196,307128,735,00031,178,00033,796,096