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 listAug 10, 2023 09:16parsersmailparsersmailScore: 5,809Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 10, 2023 09:165,79246,519,68218,534,00002,461,696
2Aug 10, 2023 09:165,79338,517,66818,539,00002,334,720
3Aug 10, 2023 09:165,80478,990,77118,573,26902,297,856
4Aug 10, 2023 09:165,80538,497,10118,577,00002,334,720
5Aug 10, 2023 09:165,80837,964,60018,585,00002,334,720
6Aug 10, 2023 09:165,80978,615,06418,589,73202,293,760
7Aug 10, 2023 09:165,80946,434,35918,588,00002,322,432
8Aug 10, 2023 09:165,81942,747,84818,622,00002,347,008
9Aug 10, 2023 09:165,82038,898,32318,623,00002,334,720
10Aug 10, 2023 09:165,82346,205,25117,597,0001,035,0002,347,008
11Aug 10, 2023 09:165,82541,789,03317,606,0001,035,0002,347,008
12Aug 10, 2023 09:165,87883,208,95618,809,56602,289,664