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 16, 2024 21:56Joad NacerJoad NacerScore: 5,892Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 16, 2024 21:565,82551,646,96217,604,0001,035,0002,523,136
2Apr 16, 2024 21:565,82648,475,68117,609,0001,035,0002,523,136
3Apr 16, 2024 21:565,83242,364,62118,663,00002,289,664
4Apr 16, 2024 21:565,84639,290,21617,669,0001,039,0002,273,280
5Apr 16, 2024 21:565,85934,491,40917,707,0001,041,0002,269,184
6Apr 16, 2024 21:565,88944,649,99616,863,0001,983,0002,289,664
7Apr 16, 2024 21:565,89243,760,57416,869,0001,984,0002,289,664
8Apr 16, 2024 21:565,89434,984,07918,861,00002,269,184
9Apr 16, 2024 21:565,90043,304,86917,888,000993,0002,269,184
10Apr 16, 2024 21:566,08289,716,79719,462,60302,301,952
11Apr 16, 2024 21:566,09398,894,38819,498,83502,174,976
12Apr 16, 2024 21:566,123111,588,62619,593,91202,301,952