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 23:19Yuriy LyfenkoYuriy LyfenkoScore: 5,439Success
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 23:195,41639,070,25216,311,0001,019,0002,265,088
2May 13, 2021 23:195,42245,850,39616,331,0001,020,0002,265,088
3May 13, 2021 23:195,42937,117,29217,374,00002,265,088
4May 13, 2021 23:195,43039,998,29116,353,0001,022,0002,392,064
5May 13, 2021 23:195,43542,020,51216,369,0001,023,0002,400,256
6May 13, 2021 23:195,43538,425,85817,393,00002,392,064
7May 13, 2021 23:195,43937,429,70214,335,0003,071,0002,392,064
8May 13, 2021 23:195,47642,814,43317,522,00002,400,256
9May 13, 2021 23:195,47636,969,96117,522,00002,523,136
10May 13, 2021 23:195,65589,221,24718,095,03602,269,184
11May 13, 2021 23:195,66097,671,14118,112,50402,273,280
12May 13, 2021 23:195,68762,576,52518,197,34002,281,472