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 20, 2024 23:07Mikhail ShirokovMikhail ShirokovScore: 4,412Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 20, 2024 23:074,39635,480,88713,063,0001,004,0002,494,464
2Nov 20, 2024 23:084,39731,406,04413,065,0001,005,0002,498,560
3Nov 20, 2024 19:564,40629,694,31913,091,0001,007,0002,277,376
4Nov 20, 2024 23:084,40934,561,37813,101,0001,007,0002,498,560
5Nov 20, 2024 19:564,41233,716,09513,109,0001,008,0002,277,376
6Nov 20, 2024 19:564,41232,083,96213,111,0001,008,0002,494,464
7Nov 20, 2024 23:074,41328,112,44913,115,0001,008,0002,494,464
8Nov 20, 2024 23:074,41637,383,25013,121,0001,009,0002,277,376
9Nov 20, 2024 23:084,43332,927,42413,173,0001,013,0002,277,376