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 18:37Yuriy LyfenkoYuriy LyfenkoScore: 5,031Success
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 18:374,994544,280,71513,985,0001,997,0002,281,472
2Jun 2, 2021 18:375,003545,496,85315,008,0001,000,0002,281,472
3Jun 2, 2021 18:375,015539,743,96915,046,0001,003,0002,408,448
4Jun 2, 2021 18:375,018547,336,35614,050,0002,007,0002,273,280
5Jun 2, 2021 18:375,024537,766,29715,072,0001,004,0002,281,472
6Jun 2, 2021 18:375,029544,651,03815,088,0001,005,0002,281,472
7Jun 2, 2021 18:375,031544,238,81114,086,0002,012,0002,400,256
8Jun 2, 2021 18:375,032541,392,95815,097,0001,006,0002,273,280
9Jun 2, 2021 18:375,038537,723,34314,108,0002,015,0002,281,472
10Jun 2, 2021 18:375,128577,240,07916,409,29802,285,568
11Jun 2, 2021 18:375,148586,880,36516,474,93302,252,800
12Jun 2, 2021 18:375,167577,635,73016,534,18202,252,800