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 listNov 6, 2024 00:19Sergey SpiridonovSergey SpiridonovScore: 16,833Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2024 00:1916,69978,310,81124,198,00029,240,0002,269,184
2Nov 6, 2024 00:1916,81877,564,42318,935,00034,881,0002,289,664
3Nov 6, 2024 00:1916,81880,068,93120,929,00032,889,0002,273,280
4Nov 6, 2024 00:1916,81983,707,79917,940,00035,881,0002,523,136
5Nov 6, 2024 00:1916,83384,330,51422,943,00030,923,0002,285,568
6Nov 6, 2024 00:1916,90976,402,98424,048,00030,060,0002,269,184
7Nov 6, 2024 00:1916,92380,564,62221,060,00033,094,0002,273,280
8Nov 6, 2024 00:1916,95778,340,79023,112,00031,151,0002,265,088
9Nov 6, 2024 00:1916,97483,648,61325,147,00029,170,0002,293,760