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 listJan 2, 2023 21:58Jack FrigaardJack FrigaardScore: 4,869Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 21:584,83932,970,24914,453,0001,032,0002,285,568
2Jan 2, 2023 21:584,84838,928,71214,478,0001,034,0002,285,568
3Jan 2, 2023 21:584,85132,964,16515,524,00002,269,184
4Jan 2, 2023 21:584,85537,490,73514,502,0001,035,0002,285,568
5Jan 2, 2023 21:584,85547,124,99115,537,00002,285,568
6Jan 2, 2023 21:584,85932,047,50913,606,0001,943,0002,277,376
7Jan 2, 2023 21:584,86931,398,34114,542,0001,038,0002,285,568
8Jan 2, 2023 21:584,87545,698,80215,601,00002,273,280
9Jan 2, 2023 21:584,90248,677,16414,642,0001,045,0002,285,568
10Jan 2, 2023 21:585,08074,489,30516,257,54602,297,856
11Jan 2, 2023 21:585,09788,866,97716,309,24302,289,664
12Jan 2, 2023 21:585,13288,800,29016,421,87502,306,048