Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listMay 28, 2021 20:40Dmitry DolgopolovDmitry DolgopolovScore: 5,539Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 20:405,48039,379,35316,506,0001,031,0002,445,312
2May 28, 2021 20:405,49141,621,75616,539,0001,033,0002,273,280
3May 28, 2021 20:405,50243,018,58216,572,0001,035,0002,273,280
4May 28, 2021 20:405,50346,627,65516,575,0001,035,0002,273,280
5May 28, 2021 20:405,50931,959,66216,593,0001,037,0002,535,424
6May 28, 2021 20:405,51441,004,43316,608,0001,038,0002,535,424
7May 28, 2021 20:405,51445,694,70816,608,0001,038,0002,273,280
8May 28, 2021 20:405,51545,146,01716,610,0001,038,0002,535,424
9May 28, 2021 20:405,51641,298,41616,613,0001,038,0002,273,280
10May 28, 2021 20:405,51931,825,43616,623,0001,038,0002,445,312
11May 28, 2021 20:405,52434,275,08916,639,0001,039,0002,535,424
12May 28, 2021 20:405,53834,447,93216,681,0001,042,0002,273,280
13May 28, 2021 20:405,53935,985,46216,684,0001,042,0002,449,408
14May 28, 2021 20:405,58746,607,32615,893,0001,986,0002,535,424
15May 28, 2021 20:405,58750,295,91415,892,0001,986,0002,433,024
16May 28, 2021 20:405,58842,768,71515,894,0001,986,0002,445,312
17May 28, 2021 20:405,59040,057,88615,900,0001,987,0002,535,424
18May 28, 2021 20:405,59041,969,38415,900,0001,987,0002,269,184
19May 28, 2021 20:405,70451,790,67018,251,84902,199,552
20May 28, 2021 20:405,73240,281,13518,340,82702,207,744
21May 28, 2021 20:405,74181,567,51818,371,67702,203,648
22May 28, 2021 20:405,75997,411,12118,428,73302,195,456
23May 28, 2021 20:405,78659,621,51818,515,77802,199,552
24May 28, 2021 20:405,81355,769,25918,600,46802,191,360