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 listJun 19, 2023 21:19Ulyanov AlekseyUlyanov AlekseyScore: 5,949Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 21:195,89845,461,96116,888,0001,986,0002,289,664
2Jun 19, 2023 21:195,90244,476,08616,898,0001,988,0002,392,064
3Jun 19, 2023 21:195,91940,743,23716,947,0001,993,0002,281,472
4Jun 19, 2023 21:195,92443,689,82216,962,0001,995,0002,281,472
5Jun 19, 2023 21:195,93541,394,21117,994,000999,0002,277,376
6Jun 19, 2023 21:195,94134,098,93117,010,0002,001,0002,273,280
7Jun 19, 2023 21:195,94940,619,08417,034,0002,004,0002,269,184
8Jun 19, 2023 21:195,96833,408,42118,094,0001,005,0002,289,664
9Jun 19, 2023 21:195,97142,796,56018,103,0001,005,0002,281,472
10Jun 19, 2023 21:196,08694,642,00819,476,48402,293,760
11Jun 19, 2023 21:196,12570,884,19719,598,60502,293,760
12Jun 19, 2023 21:196,13075,516,66219,616,07702,306,048