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 3, 2021 16:16Yuriy LyfenkoYuriy LyfenkoScore: 5,101Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 16:165,038547,239,09914,105,0002,015,0002,273,280
2Jun 3, 2021 16:165,047537,325,01814,131,0002,018,0002,273,280
3Jun 3, 2021 16:165,066543,134,98514,186,0002,026,0002,273,280
4Jun 3, 2021 16:165,071542,368,77415,213,0001,014,0002,273,280
5Jun 3, 2021 16:165,073544,644,39215,221,0001,014,0002,273,280
6Jun 3, 2021 16:165,088536,544,63615,265,0001,017,0002,273,280
7Jun 3, 2021 16:165,101539,592,06416,324,00002,273,280
8Jun 3, 2021 16:165,109545,195,31716,350,00002,281,472
9Jun 3, 2021 16:165,111540,685,60815,333,0001,022,0002,281,472
10Jun 3, 2021 16:165,203581,897,53916,649,02602,289,664
11Jun 3, 2021 16:165,210586,631,40316,671,48102,277,376
12Jun 3, 2021 16:165,250572,839,48016,799,85602,293,760