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 listJul 14, 2024 11:16kytanskytansScore: 5,187Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 14, 2024 11:165,15633,910,57816,498,00002,277,376
2Jul 14, 2024 11:165,16436,841,31015,492,0001,032,0002,277,376
3Jul 14, 2024 11:165,17243,006,34616,551,00002,498,560
4Jul 14, 2024 11:165,17438,944,00316,556,00002,277,376
5Jul 14, 2024 11:165,17638,052,61816,562,00002,277,376
6Jul 14, 2024 11:165,17931,386,89116,573,00002,277,376
7Jul 14, 2024 11:165,18747,254,35115,562,0001,037,0002,277,376
8Jul 14, 2024 11:165,18937,069,67816,604,00002,277,376
9Jul 14, 2024 11:165,19351,212,10516,616,00002,494,464
10Jul 14, 2024 11:165,45086,814,80217,438,56002,240,512
11Jul 14, 2024 11:165,46778,791,42917,494,25702,232,320
12Jul 14, 2024 11:165,49780,921,38317,590,67802,236,416