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 17, 2023 22:58Ulyanov AlekseyUlyanov AlekseyScore: 5,978Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 22:585,93742,057,62217,998,000999,0002,269,184
2Jun 17, 2023 22:585,94144,982,39517,009,0002,001,0002,277,376
3Jun 17, 2023 22:585,94145,117,52717,010,0002,001,0002,273,280
4Jun 17, 2023 22:585,94544,381,47217,021,0002,002,0002,277,376
5Jun 17, 2023 22:585,95738,605,83917,057,0002,006,0002,531,328
6Jun 17, 2023 22:585,96243,294,05518,074,0001,004,0002,277,376
7Jun 17, 2023 22:585,97844,949,06018,123,0001,006,0002,277,376
8Jun 17, 2023 22:585,98041,418,91917,122,0002,014,0002,273,280
9Jun 17, 2023 22:585,99448,415,86117,162,0002,019,0002,277,376
10Jun 17, 2023 22:586,18988,771,98119,804,20602,293,760
11Jun 17, 2023 22:586,20287,986,94719,845,51502,297,856
12Jun 17, 2023 22:586,22291,087,35119,911,29802,301,952