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 listJul 6, 2021 00:23Yuriy LyfenkoYuriy LyfenkoScore: 5,057Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2021 00:235,014547,918,64514,041,0002,005,0002,523,136
2Jul 6, 2021 00:235,038542,402,36215,114,0001,007,0002,265,088
3Jul 6, 2021 00:235,038540,613,23615,114,0001,007,0002,265,088
4Jul 6, 2021 00:235,046539,453,32215,139,0001,009,0002,523,136
5Jul 6, 2021 00:235,049541,377,46214,139,0002,019,0002,523,136
6Jul 6, 2021 00:235,054547,686,50815,164,0001,010,0002,265,088
7Jul 6, 2021 00:235,057544,356,30415,171,0001,011,0002,523,136
8Jul 6, 2021 00:235,062541,017,61414,293,0001,905,0002,265,088
9Jul 6, 2021 00:235,072548,048,25714,202,0002,028,0002,523,136
10Jul 6, 2021 00:235,184575,353,59816,589,11702,240,512
11Jul 6, 2021 00:235,196583,421,17216,627,61902,277,376
12Jul 6, 2021 00:235,217572,257,55316,693,49602,269,184