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 listApr 9, 2024 19:22emily graceemily graceScore: 5,488Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 9, 2024 19:225,45657,269,25517,460,35602,289,664
2Apr 9, 2024 19:275,46783,611,15317,495,96102,289,664
3Apr 9, 2024 19:275,48762,569,72317,559,88302,293,760
4Apr 9, 2024 19:225,48884,489,42417,562,83902,293,760
5Apr 9, 2024 19:225,49581,386,31517,583,05902,289,664
6Apr 9, 2024 19:275,49882,857,82117,593,78102,277,376