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 listMay 10, 2025 14:41AlexTralexxAlexTralexxScore: 2,994,956Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 10, 2025 14:412,971,0009,531,276,7089,485,209,00021,991,0002,277,376
2May 10, 2025 14:412,971,1319,533,682,7269,471,636,00035,983,0002,277,376
3May 10, 2025 14:412,972,8099,543,457,0419,478,007,00034,981,0002,277,376
4May 10, 2025 14:412,974,2139,543,915,2609,482,500,00034,983,0002,277,376
5May 10, 2025 14:412,994,9569,620,187,4189,543,876,00039,982,0002,277,376
6May 10, 2025 14:413,023,7119,706,104,0899,642,890,00032,985,0002,277,376
7May 10, 2025 14:413,051,2899,794,409,8459,731,141,00032,983,0002,277,376
8May 10, 2025 14:413,176,55810,196,290,34010,125,000,00039,984,0002,277,376
9May 10, 2025 14:413,209,20310,300,712,10010,244,459,00024,991,0002,510,848