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 16, 2021 13:01Yuriy LyfenkoYuriy LyfenkoScore: 5,673Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 13:015,6324,338,056,01315,019,0003,003,0002,523,136
2May 16, 2021 13:015,6394,328,704,61718,045,00002,523,136
3May 16, 2021 13:015,6484,329,651,69716,067,0002,008,0002,269,184
4May 16, 2021 13:015,6554,332,276,36517,092,0001,005,0002,265,088
5May 16, 2021 13:015,6604,335,363,24515,093,0003,018,0002,265,088
6May 16, 2021 13:015,6644,332,459,39617,118,0001,006,0002,527,232
7May 16, 2021 13:015,6734,334,561,81217,146,0001,008,0002,527,232
8May 16, 2021 13:015,6814,327,216,87816,159,0002,019,0002,265,088
9May 16, 2021 13:015,6834,334,714,36918,185,00002,260,992
10May 16, 2021 13:016,0754,370,734,88519,438,65402,277,376
11May 16, 2021 13:016,0914,370,689,97719,490,81902,273,280
12May 16, 2021 13:016,1234,372,299,43919,593,01702,277,376