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,767Success
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,72240,195,24217,294,0001,017,0002,281,472
2Mar 16, 2023 01:035,73041,429,57517,319,0001,018,0002,453,504
3Mar 16, 2023 01:035,75139,895,79817,380,0001,022,0002,453,504
4Mar 16, 2023 01:035,75834,519,97517,404,0001,023,0002,457,600
5Mar 16, 2023 01:035,76234,433,69217,413,0001,024,0002,281,472
6Mar 16, 2023 01:035,76539,522,29117,424,0001,024,0002,285,568
7Mar 16, 2023 01:035,76746,635,73617,430,0001,025,0002,281,472
8Mar 16, 2023 01:035,77239,940,38017,443,0001,026,0002,281,472
9Mar 16, 2023 01:035,77543,853,61418,481,00002,453,504
10Mar 16, 2023 01:035,93376,751,92418,986,50602,211,840
11Mar 16, 2023 01:035,94479,149,90819,020,68402,203,648
12Mar 16, 2023 01:035,95295,090,87219,047,39002,207,744