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 listJan 21, 2024 15:08AnSaAnSaScore: 5,962Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 15:085,87940,144,10814,852,0003,960,0002,564,096
2Jan 21, 2024 15:085,89336,324,75316,874,0001,985,0002,629,632
3Jan 21, 2024 15:085,90348,513,36714,913,0003,976,0002,572,288
4Jan 21, 2024 15:085,92345,620,47813,965,0004,987,0002,568,192
5Jan 21, 2024 15:085,94651,170,00215,021,0004,005,0002,752,512
6Jan 21, 2024 15:085,95135,028,23916,037,0003,006,0002,568,192
7Jan 21, 2024 15:085,96235,617,61616,066,0003,012,0002,781,184
8Jan 21, 2024 15:085,96637,554,27416,077,0003,014,0002,727,936
9Jan 21, 2024 15:085,996102,288,47519,187,60202,269,184
10Jan 21, 2024 15:086,01453,111,66215,397,0003,849,0002,449,408
11Jan 21, 2024 15:086,04591,643,68319,342,42002,273,280
12Jan 21, 2024 15:086,048118,658,86719,354,18202,277,376