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 listNov 30, 2024 21:59Joad NacerJoad NacerScore: 4,352Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 30, 2024 21:594,33531,366,40112,882,000990,0002,531,328
2Nov 30, 2024 21:594,33631,994,18213,874,00002,424,832
3Nov 30, 2024 21:594,33627,547,89412,885,000991,0002,428,928
4Nov 30, 2024 22:004,33729,888,50712,888,000991,0002,428,928
5Nov 30, 2024 22:004,33730,197,41912,812,0001,067,0002,531,328
6Nov 30, 2024 22:004,33930,698,48011,903,0001,983,0002,433,024
7Nov 30, 2024 21:584,34331,171,39211,913,0001,985,0002,437,120
8Nov 30, 2024 21:584,34340,960,35712,905,000992,0002,531,328
9Nov 30, 2024 21:594,35142,420,25212,928,000994,0002,531,328
10Nov 30, 2024 21:594,35232,661,52512,931,000994,0002,531,328
11Nov 30, 2024 22:004,35830,890,35711,953,0001,992,0002,510,848
12Nov 30, 2024 21:594,36030,174,81712,957,000996,0002,514,944
13Nov 30, 2024 21:584,36231,387,20712,962,000997,0002,269,184
14Nov 30, 2024 22:004,36430,961,46012,967,000997,0002,269,184
15Nov 30, 2024 22:004,36533,718,32712,970,000997,0002,531,328
16Nov 30, 2024 21:594,39037,268,69413,044,0001,003,0002,437,120
17Nov 30, 2024 21:594,43337,151,12812,158,0002,026,0002,531,328
18Nov 30, 2024 21:594,48935,964,72414,366,00002,531,328