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,483Success
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,45538,404,45712,221,0002,036,0002,285,568
2Apr 18, 2024 17:094,47337,631,84713,290,0001,022,0002,285,568
3Apr 18, 2024 17:094,47327,930,06814,315,00002,412,544
4Apr 18, 2024 17:094,47528,933,87614,319,00002,404,352
5Apr 18, 2024 17:094,47931,489,97313,309,0001,023,0002,400,256
6Apr 18, 2024 17:094,47938,238,56813,309,0001,023,0002,285,568
7Apr 18, 2024 17:094,48333,642,64813,321,0001,024,0002,285,568
8Apr 18, 2024 17:094,48642,544,45914,355,00002,404,352
9Apr 18, 2024 17:094,49235,251,57413,348,0001,026,0002,510,848
10Apr 18, 2024 17:094,77985,600,12915,292,75502,297,856
11Apr 18, 2024 17:094,77988,232,83915,293,32502,174,976
12Apr 18, 2024 17:094,78581,838,84015,311,72602,306,048