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 listJun 2, 2021 20:36Dmitry DolgopolovDmitry DolgopolovScore: 5,023Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 11, 2021 11:154,99431,112,91613,984,0001,997,0002,531,328
2Jun 11, 2021 11:154,99943,545,08613,999,0001,999,0002,457,600
3Jun 2, 2021 20:365,00340,541,86014,009,0002,001,0002,531,328
4Jun 11, 2021 11:155,00534,324,79414,014,0002,002,0002,449,408
5Jun 11, 2021 11:155,00951,598,40414,026,0002,003,0002,441,216
6Jun 2, 2021 20:365,00938,452,40814,026,0002,003,0002,453,504
7Jun 2, 2021 20:365,01030,458,13514,028,0002,004,0002,449,408
8Jun 2, 2021 20:365,01038,799,59114,028,0002,004,0002,453,504
9Jun 11, 2021 11:155,01332,735,14014,038,0002,005,0002,531,328
10Jun 2, 2021 20:365,01436,122,50215,042,0001,002,0002,445,312
11Jun 11, 2021 11:155,01636,822,38715,048,0001,003,0002,453,504
12Jun 2, 2021 20:365,02034,354,93214,057,0002,008,0002,269,184
13Jun 2, 2021 20:365,02332,344,74314,063,0002,009,0002,269,184
14Jun 2, 2021 20:365,02335,621,12914,063,0002,009,0002,531,328
15Jun 11, 2021 11:155,04235,782,23014,118,0002,016,0002,445,312
16Jun 2, 2021 20:365,04337,001,39614,120,0002,017,0002,457,600
17Jun 11, 2021 11:155,04432,366,20514,124,0002,017,0002,527,232
18Jun 11, 2021 11:155,05634,828,42114,156,0002,022,0002,527,232
19Jun 2, 2021 20:365,21463,419,42816,683,85002,256,896
20Jun 2, 2021 20:365,21984,670,89816,700,16002,203,648
21Jun 11, 2021 11:155,22593,279,83716,719,00002,199,552
22Jun 11, 2021 11:155,23166,711,13216,738,13502,203,648
23Jun 2, 2021 20:365,25090,553,28616,800,39802,203,648
24Jun 11, 2021 11:155,25479,845,47816,812,95102,203,648