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 listFeb 2, 2025 18:56Sergey SerebryakovSergey SerebryakovScore: 21,967Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 2, 2025 18:5621,51894,122,73337,922,00030,936,0002,416,640
2Feb 2, 2025 18:5621,82896,058,06636,921,00032,930,0002,269,184
3Feb 2, 2025 18:5621,89591,489,49538,035,00032,030,0002,289,664
4Feb 2, 2025 18:5621,92394,058,69839,085,00031,068,0002,265,088
5Feb 2, 2025 18:5621,96798,630,11337,156,00033,139,0002,269,184
6Feb 2, 2025 18:5622,114102,425,87237,875,00032,891,0002,310,144
7Feb 2, 2025 18:5622,21096,509,16737,038,00034,034,0002,273,280
8Feb 2, 2025 18:5622,55497,109,98536,086,00036,086,0002,420,736
9Feb 2, 2025 18:5622,735101,969,10437,870,00034,881,0002,289,664