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 30, 2024 13:06BenBenScore: 4,651Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 13:064,60546,136,32413,685,0001,052,0002,265,088
2Jul 30, 2024 13:064,64142,337,54813,862,000990,0002,371,584
3Jul 30, 2024 13:064,64338,215,80914,858,00002,265,088
4Jul 30, 2024 13:064,64432,518,91112,880,0001,981,0002,265,088
5Jul 30, 2024 13:064,64845,246,19313,881,000991,0002,265,088
6Jul 30, 2024 13:064,65037,308,02612,896,0001,984,0002,379,776
7Jul 30, 2024 13:064,65131,773,76614,882,00002,367,488
8Jul 30, 2024 13:064,65732,246,55312,915,0001,986,0002,265,088
9Jul 30, 2024 13:064,66637,104,77913,937,000995,0002,265,088
10Jul 30, 2024 13:064,90868,451,21015,704,24102,244,608
11Jul 30, 2024 13:064,90986,635,83215,709,47902,273,280
12Jul 30, 2024 13:064,92995,288,26515,773,34502,277,376