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 listApr 24, 2025 17:50lukostlukostScore: 11,157Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 17:5010,91358,092,8259,977,00024,944,0002,285,568
2Apr 24, 2025 17:5011,06858,369,3958,095,00027,321,0002,285,568
3Apr 24, 2025 17:5011,10658,768,6357,107,00028,431,0002,404,352
4Apr 24, 2025 17:5011,15361,759,6096,118,00029,570,0002,408,448
5Apr 24, 2025 17:5011,15763,396,5898,160,00027,541,0002,285,568
6Apr 24, 2025 17:5011,20063,537,5365,973,00029,866,0002,412,544
7Apr 24, 2025 17:5011,24360,737,187035,978,0002,285,568
8Apr 24, 2025 17:5011,25058,692,5986,000,00030,001,0002,277,376
9Apr 24, 2025 17:5011,36862,779,8109,094,00027,282,0002,412,544