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 2, 2023 17:35Hal FHal FScore: 5,005Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 17:354,95633,361,12514,867,000991,0002,277,376
2Jan 2, 2023 17:354,95935,535,17313,885,0001,983,0002,285,568
3Jan 2, 2023 17:354,96045,797,10413,888,0001,984,0002,273,280
4Jan 2, 2023 17:354,96746,501,58813,908,0001,986,0002,289,664
5Jan 2, 2023 17:354,98335,647,40413,953,0001,993,0002,273,280
6Jan 2, 2023 17:354,98744,084,97813,963,0001,994,0002,289,664
7Jan 2, 2023 17:355,00533,035,84014,015,0002,002,0002,273,280
8Jan 2, 2023 17:355,00837,006,34614,023,0002,003,0002,289,664
9Jan 2, 2023 17:355,00937,580,67815,029,0001,001,0002,289,664
10Jan 2, 2023 17:355,15078,789,31416,480,00802,289,664
11Jan 2, 2023 17:355,16182,483,62516,516,78502,297,856
12Jan 2, 2023 17:355,18792,421,73016,596,92002,301,952