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:22Yuriy LyfenkoYuriy LyfenkoScore: 5,087Success
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:225,04633,262,57415,137,0001,009,0002,265,088
2Jul 6, 2021 00:225,05234,829,37915,157,0001,010,0002,527,232
3Jul 6, 2021 00:225,05332,979,71515,161,0001,010,0002,265,088
4Jul 6, 2021 00:225,05644,098,44115,168,0001,011,0002,265,088
5Jul 6, 2021 00:225,05833,021,80514,163,0002,023,0002,387,968
6Jul 6, 2021 00:225,05936,903,19515,178,0001,011,0002,265,088
7Jul 6, 2021 00:225,08739,847,91215,261,0001,017,0002,265,088
8Jul 6, 2021 00:225,09238,775,04015,276,0001,018,0002,392,064
9Jul 6, 2021 00:225,10932,898,45715,327,0001,021,0002,498,560
10Jul 6, 2021 00:225,24370,200,03816,778,05302,273,280
11Jul 6, 2021 00:225,25880,916,98916,824,08302,273,280
12Jul 6, 2021 00:225,28076,974,58416,894,56102,273,280