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 20:01emily graceemily graceScore: 5,474Success
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 20:015,44896,570,74617,434,89802,301,952
2Apr 9, 2024 20:015,45668,894,62517,459,17902,285,568
3Apr 9, 2024 20:015,45772,645,46517,462,62202,277,376
4Apr 9, 2024 20:165,45777,142,54317,463,54702,285,568
5Apr 9, 2024 20:015,46594,936,83917,487,92502,285,568
6Apr 9, 2024 20:015,46876,236,48017,497,01702,293,760
7Apr 9, 2024 20:165,47180,341,49417,506,85402,285,568
8Apr 9, 2024 20:015,47468,371,29717,516,13002,293,760
9Apr 9, 2024 20:015,48982,676,91217,564,50202,281,472
10Apr 9, 2024 20:165,49080,672,22017,568,26802,281,472
11Apr 9, 2024 20:015,49385,485,91317,577,59302,285,568
12Apr 9, 2024 20:015,49576,072,01317,585,12402,293,760
13Apr 9, 2024 20:015,50782,598,12117,621,44502,277,376
14Apr 9, 2024 20:015,52174,341,25117,667,76602,293,760
15Apr 9, 2024 20:015,52879,147,71417,688,46202,293,760