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 2, 2021 19:12Yuriy LyfenkoYuriy LyfenkoScore: 5,028Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 19:125,008539,187,15214,024,0002,003,0002,273,280
2Jun 2, 2021 19:125,009538,095,02214,025,0002,003,0002,273,280
3Jun 2, 2021 19:125,013540,406,93214,037,0002,005,0002,273,280
4Jun 2, 2021 19:125,013538,472,00815,041,0001,002,0002,273,280
5Jun 2, 2021 19:125,024537,473,39015,072,0001,004,0002,273,280
6Jun 2, 2021 19:125,025537,095,76714,070,0002,010,0002,281,472
7Jun 2, 2021 19:125,028540,497,72815,085,0001,005,0002,273,280
8Jun 2, 2021 19:125,030537,659,10214,085,0002,012,0002,273,280
9Jun 2, 2021 19:125,044541,463,02215,133,0001,008,0002,273,280
10Jun 2, 2021 19:125,152576,772,02816,486,69202,293,760
11Jun 2, 2021 19:125,168578,214,60916,537,94302,256,896
12Jun 2, 2021 19:125,188569,230,17216,600,86102,256,896