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 01:08Sergey SpiridonovSergey SpiridonovScore: 14,463Success
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 01:0814,32876,097,54822,925,00022,925,0002,281,472
2Nov 6, 2024 01:0814,33076,067,59917,944,00027,913,0002,277,376
3Nov 6, 2024 01:0814,38674,062,69422,016,00024,018,0002,277,376
4Nov 6, 2024 01:0814,44677,248,26418,089,00028,138,0002,289,664
5Nov 6, 2024 01:0814,46372,398,46715,091,00031,190,0002,273,280
6Nov 6, 2024 01:0814,46574,322,85520,125,00026,162,0002,289,664
7Nov 6, 2024 01:0814,49373,925,46315,122,00031,254,0002,289,664
8Nov 6, 2024 01:0814,51269,091,72814,133,00032,304,0002,289,664
9Nov 6, 2024 01:0815,17874,583,61317,202,00031,369,0002,277,376