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 listOct 19, 2024 09:51Sybrand AarnoutseSybrand AarnoutseScore: 5,650Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 19, 2024 09:515,63646,817,94816,032,0002,004,0002,289,664
2Oct 19, 2024 09:515,64640,046,53216,059,0002,007,0002,289,664
3Oct 19, 2024 09:515,64840,816,71716,065,0002,008,0002,289,664
4Oct 19, 2024 09:515,64843,658,24816,067,0002,008,0002,277,376
5Oct 19, 2024 09:515,65042,762,17116,072,0002,009,0002,289,664
6Oct 19, 2024 09:515,65542,413,34416,085,0002,010,0002,269,184
7Oct 19, 2024 09:515,66347,071,08716,107,0002,013,0002,269,184
8Oct 19, 2024 09:515,66741,249,69717,126,0001,007,0002,289,664
9Oct 19, 2024 09:515,66739,582,97616,120,0002,015,0002,367,488