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 listJun 6, 2021 22:50Yuriy LyfenkoYuriy LyfenkoScore: 5,032Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 6, 2021 22:505,00488,961,49415,014,0001,000,0002,281,472
2Jun 6, 2021 22:505,01288,955,77114,034,0002,004,0002,281,472
3Jun 6, 2021 22:505,01694,435,92815,048,0001,003,0002,281,472
4Jun 6, 2021 22:505,01692,449,34914,045,0002,006,0002,404,352
5Jun 6, 2021 22:505,01789,146,23615,052,0001,003,0002,281,472
6Jun 6, 2021 22:505,01988,272,31614,054,0002,007,0002,273,280
7Jun 6, 2021 22:505,03292,385,77914,089,0002,012,0002,281,472
8Jun 6, 2021 22:505,03490,911,60914,096,0002,013,0002,281,472
9Jun 6, 2021 22:505,03588,940,98614,098,0002,014,0002,404,352
10Jun 6, 2021 22:505,149119,160,95216,475,90702,252,800
11Jun 6, 2021 22:505,164120,340,58216,523,29302,256,896
12Jun 6, 2021 22:505,188120,561,73816,602,97802,281,472