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:17Robert BurkeRobert BurkeScore: 4,511Success
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:174,49436,109,76014,382,00002,441,216
2Apr 18, 2024 17:174,50235,130,60913,377,0001,029,0002,281,472
3Apr 18, 2024 17:174,50332,448,57414,408,00002,281,472
4Apr 18, 2024 17:174,50330,286,09013,380,0001,029,0002,281,472
5Apr 18, 2024 17:174,50533,432,73914,416,00002,437,120
6Apr 18, 2024 17:174,50730,243,28414,423,00002,281,472
7Apr 18, 2024 17:174,51131,584,60814,436,00002,281,472
8Apr 18, 2024 17:174,51230,187,58514,439,00002,281,472
9Apr 18, 2024 17:174,53934,684,40114,524,00002,437,120
10Apr 18, 2024 17:174,73580,098,99515,152,00902,191,360
11Apr 18, 2024 17:174,78085,379,57815,295,51502,179,072
12Apr 18, 2024 17:174,78562,184,30215,312,87402,187,264