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 18, 2024 17:09Robert BurkeRobert BurkeScore: 4,481Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 17:094,45835,742,88012,229,0002,038,0002,400,256
2Apr 18, 2024 17:094,47432,053,39313,295,0001,022,0002,400,256
3Apr 18, 2024 17:094,47532,947,52013,298,0001,022,0002,285,568
4Apr 18, 2024 17:094,47730,552,84514,326,00002,285,568
5Apr 18, 2024 17:094,47831,789,94213,306,0001,023,0002,412,544
6Apr 18, 2024 17:094,48143,446,95414,338,00002,408,448
7Apr 18, 2024 17:094,48133,317,91613,316,0001,024,0002,285,568
8Apr 18, 2024 17:094,48337,633,72113,320,0001,024,0002,285,568
9Apr 18, 2024 17:094,48431,643,17014,348,00002,285,568
10Apr 18, 2024 17:094,76788,022,59815,255,69102,293,760
11Apr 18, 2024 17:094,76974,886,69615,260,64902,306,048
12Apr 18, 2024 17:094,78481,897,98915,309,37202,306,048