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 1, 2021 15:50Ilya AniskovetsIlya AniskovetsScore: 5,363Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 15:505,31935,358,41515,019,0002,002,0002,265,088
2Nov 1, 2021 15:505,32143,933,94416,026,0001,001,0002,527,232
3Nov 1, 2021 15:505,32247,697,07316,029,0001,001,0002,383,872
4Nov 1, 2021 15:505,33034,492,05016,052,0001,003,0002,265,088
5Nov 1, 2021 15:505,33246,215,26315,056,0002,007,0002,383,872
6Nov 1, 2021 15:505,34145,041,74115,080,0002,010,0002,265,088
7Nov 1, 2021 15:505,36345,506,01416,152,0001,009,0002,383,872
8Nov 1, 2021 15:505,37038,140,76915,163,0002,021,0002,265,088
9Nov 1, 2021 15:505,37645,640,48416,192,0001,012,0002,265,088
10Nov 1, 2021 15:505,49174,359,32817,571,83902,277,376
11Nov 1, 2021 15:505,491107,755,98217,571,89902,277,376
12Nov 1, 2021 15:505,52296,057,02917,669,79002,281,472