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 listMar 16, 2023 01:03Alexander MonakovAlexander MonakovScore: 5,744Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2023 01:035,71143,901,93017,259,0001,015,0002,453,504
2Mar 16, 2023 01:035,72144,619,69817,291,0001,017,0002,453,504
3Mar 16, 2023 01:035,72340,837,14117,297,0001,017,0002,281,472
4Mar 16, 2023 01:035,72436,622,22817,301,0001,017,0002,281,472
5Mar 16, 2023 01:035,73144,996,64617,321,0001,018,0002,281,472
6Mar 16, 2023 01:035,73742,257,11017,338,0001,019,0002,285,568
7Mar 16, 2023 01:035,74437,260,46617,360,0001,021,0002,445,312
8Mar 16, 2023 01:035,75135,817,64417,381,0001,022,0002,453,504
9Mar 16, 2023 01:035,75741,774,20817,398,0001,023,0002,277,376
10Mar 16, 2023 01:035,87981,744,16718,813,46402,203,648
11Mar 16, 2023 01:035,88381,574,89018,825,48602,207,744
12Mar 16, 2023 01:035,90587,114,74218,897,59802,211,840