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 listMay 28, 2021 15:51Egor SergeevEgor SergeevScore: 5,175Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 15:515,13837,924,50816,440,00002,502,656
2May 28, 2021 15:515,15432,296,52216,492,00002,277,376
3May 28, 2021 15:515,15433,038,78416,494,00002,281,472
4May 28, 2021 15:515,16136,282,26216,514,00002,277,376
5May 28, 2021 15:515,16139,301,08416,515,00002,490,368
6May 28, 2021 15:515,17137,436,66316,548,00002,502,656
7May 28, 2021 15:515,17540,275,74116,559,00002,502,656
8May 28, 2021 15:515,18638,652,10616,594,00002,535,424
9May 28, 2021 15:515,20434,282,82816,652,00002,277,376
10May 28, 2021 15:515,42575,710,75017,359,99902,248,704
11May 28, 2021 15:515,42795,887,70017,365,05602,244,608
12May 28, 2021 15:515,44058,646,06517,408,15402,244,608