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 14:11Robert BurkeRobert BurkeScore: 5,033Success
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 14:115,00230,957,61214,005,0002,000,0002,281,472
2Apr 18, 2024 14:115,02039,127,04014,057,0002,008,0002,445,312
3Apr 18, 2024 14:115,02136,755,21214,059,0002,008,0002,535,424
4Apr 18, 2024 14:115,02340,091,93114,066,0002,009,0002,445,312
5Apr 18, 2024 14:115,02436,843,02314,069,0002,009,0002,281,472
6Apr 18, 2024 14:115,02934,681,80414,083,0002,011,0002,277,376
7Apr 18, 2024 14:115,03333,409,52314,093,0002,013,0002,449,408
8Apr 18, 2024 14:115,04338,923,35114,122,0002,017,0002,453,504
9Apr 18, 2024 14:115,05537,499,55914,154,0002,022,0002,277,376
10Apr 18, 2024 14:115,27689,549,04316,883,65402,211,840
11Apr 18, 2024 14:115,29879,964,64316,952,43202,203,648
12Apr 18, 2024 14:115,32083,974,51217,022,79902,207,744