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 17, 2024 18:03Joad NacerJoad NacerScore: 4,964Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 18:034,89841,846,22015,675,00002,289,664
2Apr 17, 2024 18:034,90341,463,98614,645,0001,046,0002,289,664
3Apr 17, 2024 18:034,91132,048,37714,667,0001,047,0002,367,488
4Apr 17, 2024 18:034,91635,225,63614,683,0001,048,0002,289,664
5Apr 17, 2024 18:034,94841,874,15413,855,0001,979,0002,289,664
6Apr 17, 2024 18:034,95841,830,85813,881,0001,983,0002,289,664
7Apr 17, 2024 18:034,96434,344,08114,892,000992,0002,265,088
8Apr 17, 2024 18:034,97331,408,32614,919,000994,0002,273,280
9Apr 17, 2024 18:035,01331,833,21314,038,0002,005,0002,289,664
10Apr 17, 2024 18:035,16064,759,25016,511,18002,289,664
11Apr 17, 2024 18:035,18176,687,70216,578,62102,183,168
12Apr 17, 2024 18:035,18656,453,39416,596,31002,297,856