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 listJul 13, 2021 19:26Andrey TsvetkovAndrey TsvetkovScore: 5,804Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 19:265,78040,726,05316,441,0002,055,0002,330,624
2Jul 13, 2021 19:265,78144,279,65616,444,0002,055,0002,330,624
3Jul 13, 2021 19:265,78335,331,97916,451,0002,056,0002,523,136
4Jul 13, 2021 19:265,78841,726,78516,464,0002,058,0002,527,232
5Jul 13, 2021 19:265,79339,079,67316,477,0002,059,0002,531,328
6Jul 13, 2021 19:265,80040,248,95216,497,0002,062,0002,334,720
7Jul 13, 2021 19:265,80440,987,61317,541,0001,031,0002,334,720
8Jul 13, 2021 19:265,80792,260,98118,582,90302,240,512
9Jul 13, 2021 19:265,81944,009,88816,552,0002,069,0002,334,720
10Jul 13, 2021 19:265,82077,380,61118,624,98002,232,320
11Jul 13, 2021 19:265,83089,992,37418,654,79402,224,128
12Jul 13, 2021 19:265,83238,040,81316,588,0002,073,0002,330,624