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:58Sergey SerebryakovSergey SerebryakovScore: 21,928Success
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:5821,40598,831,74735,255,00033,241,0002,379,776
2Feb 2, 2025 18:5821,59996,701,63439,066,00030,051,0002,269,184
3Feb 2, 2025 18:5821,63788,354,05537,128,00032,110,0002,519,040
4Feb 2, 2025 18:5821,69394,352,61035,211,00034,205,0002,289,664
5Feb 2, 2025 18:5821,92893,619,94637,090,00033,080,0002,478,080
6Feb 2, 2025 18:5821,94293,599,27937,113,00033,101,0002,289,664
7Feb 2, 2025 18:5822,198102,885,66338,019,00033,016,0002,277,376
8Feb 2, 2025 18:5822,23293,672,74937,074,00034,068,0002,469,888
9Feb 2, 2025 18:5822,26495,672,35437,128,00034,118,0002,289,664