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:09kytanskytansScore: 5,304Success
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:095,27542,905,82314,894,0001,985,0002,498,560
2Jul 14, 2024 11:095,27640,705,31115,890,000993,0002,531,328
3Jul 14, 2024 11:095,28238,011,79314,790,0002,112,0002,269,184
4Jul 14, 2024 11:095,28739,886,61613,933,0002,985,0002,498,560
5Jul 14, 2024 11:095,28838,103,17915,925,000995,0002,494,464
6Jul 14, 2024 11:095,29049,237,81915,934,000995,0002,269,184
7Jul 14, 2024 11:095,30439,318,91615,974,000998,0002,498,560
8Jul 14, 2024 11:095,30541,987,19314,978,0001,997,0002,494,464
9Jul 14, 2024 11:095,31632,173,74016,012,0001,000,0002,531,328
10Jul 14, 2024 11:095,57689,580,82917,842,34202,240,512
11Jul 14, 2024 11:095,57971,757,61017,854,22702,240,512
12Jul 14, 2024 11:095,60257,086,82917,926,83402,228,224