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 listJan 3, 2023 21:33Hal FHal FScore: 4,733Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 21:334,69837,184,89813,030,0002,004,0002,273,280
2Jan 3, 2023 21:334,69934,014,71113,033,0002,005,0002,289,664
3Jan 3, 2023 21:334,70030,708,64513,035,0002,005,0002,289,664
4Jan 3, 2023 21:334,71332,153,62013,072,0002,011,0002,285,568
5Jan 3, 2023 21:334,71732,794,89114,089,0001,006,0002,269,184
6Jan 3, 2023 21:334,72939,942,61814,124,0001,008,0002,277,376
7Jan 3, 2023 21:334,73337,202,31113,125,0002,019,0002,367,488
8Jan 3, 2023 21:334,73543,433,14813,131,0002,020,0002,289,664
9Jan 3, 2023 21:334,74632,436,38713,162,0002,024,0002,285,568
10Jan 3, 2023 21:334,93255,599,28815,781,10002,252,800
11Jan 3, 2023 21:334,94273,155,10415,815,60602,289,664
12Jan 3, 2023 21:334,958242,906,17815,865,00802,297,856