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 listJul 22, 2022 23:39Robert BurkeRobert BurkeScore: 4,649Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 23:394,56831,821,90513,574,0001,044,0002,281,472
2Jul 22, 2022 23:394,57539,062,98813,594,0001,045,0002,277,376
3Jul 22, 2022 23:394,58640,125,82314,674,00002,453,504
4Jul 22, 2022 23:394,58630,786,64713,626,0001,048,0002,281,472
5Jul 22, 2022 23:394,60040,436,44913,670,0001,051,0002,453,504
6Jul 22, 2022 23:394,64628,926,54112,886,0001,982,0002,281,472
7Jul 22, 2022 23:394,64941,203,34613,885,000991,0002,281,472
8Jul 22, 2022 23:394,64936,831,60912,895,0001,983,0002,445,312
9Jul 22, 2022 23:394,65433,230,73513,901,000992,0002,437,120
10Jul 22, 2022 23:394,85681,293,19715,540,40102,211,840
11Jul 22, 2022 23:394,86670,569,98215,572,31202,203,648
12Jul 22, 2022 23:394,87892,338,00915,608,64302,199,552