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:00Joad NacerJoad NacerScore: 4,959Success
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:004,89931,747,27715,678,00002,289,664
2Apr 17, 2024 18:004,94633,125,59214,839,000989,0002,289,664
3Apr 17, 2024 18:004,94832,657,95414,845,000989,0002,289,664
4Apr 17, 2024 18:004,95840,723,73313,882,0001,983,0002,277,376
5Apr 17, 2024 18:004,95850,446,76014,874,000991,0002,289,664
6Apr 17, 2024 18:004,95835,788,70614,876,000991,0002,289,664
7Apr 17, 2024 18:004,95942,621,30413,887,0001,983,0002,289,664
8Apr 17, 2024 18:004,96335,874,05213,895,0001,985,0002,289,664
9Apr 17, 2024 18:004,97130,906,04413,919,0001,988,0002,289,664
10Apr 17, 2024 18:005,16288,114,13616,519,90502,301,952
11Apr 17, 2024 18:005,22283,477,05716,710,02202,306,048
12Apr 17, 2024 18:005,22386,929,73216,713,07702,301,952