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 15, 2024 14:37kytanskytansScore: 4,531Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2024 14:374,49036,754,94514,368,00002,502,656
2Jul 15, 2024 14:374,49737,974,08914,391,00002,502,656
3Jul 15, 2024 14:374,50729,515,29414,422,00002,506,752
4Jul 15, 2024 14:374,51330,738,15014,441,00002,506,752
5Jul 15, 2024 14:374,52137,409,11314,467,00002,277,376
6Jul 15, 2024 14:374,52341,100,71514,472,00002,277,376
7Jul 15, 2024 14:374,53130,697,04314,499,00002,277,376
8Jul 15, 2024 14:374,53131,811,55214,500,00002,277,376
9Jul 15, 2024 14:374,53234,786,18514,501,00002,510,848
10Jul 15, 2024 14:374,76256,969,17415,237,08402,240,512
11Jul 15, 2024 14:374,78388,647,93715,305,78502,383,872
12Jul 15, 2024 14:374,81982,875,80915,419,34202,379,776