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 listJun 7, 2024 17:42matsuoka-601matsuoka-601Score: 4,750Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2024 17:424,72434,764,27714,111,0001,007,0002,285,568
2Jun 7, 2024 17:424,73134,776,43513,122,0002,018,0002,285,568
3Jun 7, 2024 17:424,73637,624,73813,134,0002,020,0002,404,352
4Jun 7, 2024 17:424,73630,700,34014,145,0001,010,0002,285,568
5Jun 7, 2024 17:424,74332,098,05713,154,0002,023,0002,277,376
6Jun 7, 2024 17:424,74332,473,30514,167,0001,011,0002,285,568
7Jun 7, 2024 17:424,75030,804,32614,187,0001,013,0002,285,568
8Jun 7, 2024 17:424,75237,526,07313,178,0002,027,0002,285,568
9Jun 7, 2024 17:424,75737,349,32314,208,0001,014,0002,285,568
10Jun 7, 2024 17:424,98097,501,13615,937,50802,301,952
11Jun 7, 2024 17:424,994101,159,62315,980,85302,297,856
12Jun 7, 2024 17:425,02265,076,63216,071,77102,297,856