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 listMar 1, 2023 09:58DarkclainerDarkclainerScore: 4,670Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 1, 2023 09:584,64431,169,21812,880,0001,981,0002,375,680
2Mar 1, 2023 09:584,64739,944,14113,878,000991,0002,392,064
3Mar 1, 2023 09:584,64730,207,37112,888,0001,982,0002,375,680
4Mar 1, 2023 09:584,65133,673,03213,892,000992,0002,379,776
5Mar 1, 2023 09:584,65739,601,17013,837,0001,064,0002,478,080
6Mar 1, 2023 09:584,65831,616,37113,913,000993,0002,273,280
7Mar 1, 2023 09:584,67046,587,06413,947,000996,0002,531,328
8Mar 1, 2023 09:584,67035,675,47012,952,0001,992,0002,387,968
9Mar 1, 2023 09:584,69737,362,97713,026,0002,004,0002,269,184
10Mar 1, 2023 09:584,85484,069,91315,531,65602,232,320
11Mar 1, 2023 09:584,88498,886,43215,628,90702,248,704
12Mar 1, 2023 09:584,92493,054,24215,755,35402,240,512