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 listSep 6, 2024 09:26Joseph KuoJoseph KuoScore: 5,797Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 6, 2024 09:285,72449,591,49617,299,0001,017,0002,269,184
2Sep 6, 2024 09:285,73134,523,15917,322,0001,018,0002,289,664
3Sep 6, 2024 09:285,74148,380,08016,331,0002,041,0002,289,664
4Sep 6, 2024 09:285,75546,973,14616,371,0002,046,0002,289,664
5Sep 6, 2024 09:285,76639,038,91116,402,0002,050,0002,527,232
6Sep 6, 2024 09:285,76939,152,51116,517,0001,943,0002,289,664
7Sep 6, 2024 09:285,77037,868,42717,438,0001,025,0002,289,664
8Sep 6, 2024 09:285,77235,231,40018,469,00002,289,664
9Sep 6, 2024 09:265,78541,807,41317,483,0001,028,0002,523,136
10Sep 6, 2024 09:265,79745,114,21118,549,00002,523,136
11Sep 6, 2024 09:285,80139,766,79317,531,0001,031,0002,289,664
12Sep 6, 2024 09:265,81451,331,79617,572,0001,033,0002,289,664
13Sep 6, 2024 09:265,82249,434,25217,595,0001,035,0002,289,664
14Sep 6, 2024 09:265,82852,570,12818,648,00002,269,184
15Sep 6, 2024 09:265,83644,253,32917,638,0001,037,0002,289,664
16Sep 6, 2024 09:265,85647,278,71417,698,0001,041,0002,289,664
17Sep 6, 2024 09:265,88337,292,15016,845,0001,981,0002,523,136
18Sep 6, 2024 09:265,89644,210,27017,874,000993,0002,277,376