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 8, 2024 21:46Joad NacerJoad NacerScore: 4,908Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 8, 2024 21:464,86738,135,78814,536,0001,038,0002,273,280
2May 8, 2024 21:464,86937,587,44614,542,0001,038,0002,289,664
3May 8, 2024 21:464,87137,343,39114,549,0001,039,0002,289,664
4May 8, 2024 21:464,88342,898,46214,586,0001,041,0002,281,472
5May 8, 2024 21:464,88836,330,29215,642,00002,519,040
6May 8, 2024 21:464,89241,344,04214,610,0001,043,0002,289,664
7May 8, 2024 21:464,89530,534,14215,664,00002,289,664
8May 8, 2024 21:464,89741,958,77914,627,0001,044,0002,289,664
9May 8, 2024 21:464,89839,106,89914,628,0001,044,0002,265,088
10May 8, 2024 21:464,90248,188,35815,686,00002,289,664
11May 8, 2024 21:464,90632,790,30315,699,00002,379,776
12May 8, 2024 21:464,90640,473,89514,652,0001,046,0002,289,664
13May 8, 2024 21:464,90828,381,31115,704,00002,387,968
14May 8, 2024 21:464,91142,569,92914,667,0001,047,0002,265,088
15May 8, 2024 21:464,91141,970,75114,667,0001,047,0002,289,664
16May 8, 2024 21:464,91633,831,06714,684,0001,048,0002,277,376
17May 8, 2024 21:464,91847,089,13215,737,00002,289,664
18May 8, 2024 21:464,96249,471,84014,885,000992,0002,289,664
19May 8, 2024 21:465,17290,222,70616,549,08802,306,048
20May 8, 2024 21:465,17474,019,08016,556,36202,289,664
21May 8, 2024 21:465,17982,286,51116,574,31202,301,952
22May 8, 2024 21:465,18487,440,15916,589,23502,289,664
23May 8, 2024 21:465,19790,294,99316,630,81002,289,664
24May 8, 2024 21:465,19892,876,00116,633,62102,306,048