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 8, 2024 21:36AndreyTSAndreyTSScore: 5,284Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 21:365,22535,075,57616,721,00002,289,664
2Jun 8, 2024 21:365,26744,362,76814,872,0001,982,0002,289,664
3Jun 8, 2024 21:365,27236,382,69814,886,0001,984,0002,265,088
4Jun 8, 2024 21:365,27438,628,79514,891,0001,985,0002,277,376
5Jun 8, 2024 21:365,27642,346,53214,898,0001,986,0002,371,584
6Jun 8, 2024 21:365,27944,500,66016,892,00002,527,232
7Jun 8, 2024 21:365,28432,932,02215,916,000994,0002,289,664
8Jun 8, 2024 21:365,28742,508,14416,919,00002,289,664
9Jun 8, 2024 21:365,30535,435,24514,980,0001,997,0002,289,664
10Jun 8, 2024 21:365,46896,810,93617,497,35902,256,896
11Jun 8, 2024 21:365,48365,757,72317,545,60802,306,048
12Jun 8, 2024 21:365,502107,617,94317,605,00302,297,856