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 13, 2024 19:30kytanskytansScore: 5,567Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2024 19:305,50232,785,52016,570,0001,035,0002,289,664
2Jul 13, 2024 19:305,50940,808,62716,593,0001,037,0002,285,568
3Jul 13, 2024 19:305,51748,779,52617,655,00002,281,472
4Jul 13, 2024 19:305,52043,592,86716,626,0001,039,0002,289,664
5Jul 13, 2024 19:305,52747,305,48517,685,00002,289,664
6Jul 13, 2024 19:305,53043,776,86616,655,0001,040,0002,281,472
7Jul 13, 2024 19:305,56739,445,17815,835,0001,979,0002,367,488
8Jul 13, 2024 19:305,58643,592,39615,890,0001,986,0002,293,760
9Jul 13, 2024 19:305,58946,823,47416,892,000993,0002,293,760
10Jul 13, 2024 19:305,75981,786,95618,429,19902,174,976
11Jul 13, 2024 19:305,75991,537,52518,429,17102,289,664
12Jul 13, 2024 19:305,80093,607,40518,561,28602,289,664