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 listMay 13, 2021 22:19Yuriy LyfenkoYuriy LyfenkoScore: 5,462Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 22:195,43140,162,72917,378,00002,396,160
2May 13, 2021 22:195,43535,820,67715,347,0002,046,0002,396,160
3May 13, 2021 22:195,44845,860,24117,434,00002,523,136
4May 13, 2021 22:195,45141,204,00917,442,00002,523,136
5May 13, 2021 22:195,45639,995,94516,433,0001,027,0002,392,064
6May 13, 2021 22:195,45839,814,93016,438,0001,027,0002,523,136
7May 13, 2021 22:195,46250,147,52715,423,0002,056,0002,265,088
8May 13, 2021 22:195,46641,631,96717,490,00002,523,136
9May 13, 2021 22:195,47533,760,83316,490,0001,030,0002,523,136
10May 13, 2021 22:195,60371,805,91917,930,62502,281,472
11May 13, 2021 22:195,67280,322,94218,148,81402,277,376
12May 13, 2021 22:195,69787,950,66418,230,43902,277,376