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:28Ulyanov AlekseyUlyanov AlekseyScore: 5,685Success
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:285,64840,348,64116,066,0002,008,0002,289,664
2Jun 19, 2023 21:285,65544,903,31016,086,0002,010,0002,277,376
3Jun 19, 2023 21:285,66339,038,11517,114,0001,006,0002,277,376
4Jun 19, 2023 21:285,67033,927,03117,137,0001,008,0002,289,664
5Jun 19, 2023 21:285,67735,435,84716,147,0002,018,0002,285,568
6Jun 19, 2023 21:285,67945,416,50516,155,0002,019,0002,269,184
7Jun 19, 2023 21:285,68541,793,01917,181,0001,010,0002,289,664
8Jun 19, 2023 21:285,68941,127,38816,182,0002,022,0002,273,280
9Jun 19, 2023 21:285,70345,239,62216,221,0002,027,0002,289,664
10Jun 19, 2023 21:285,86372,206,86718,762,54002,301,952
11Jun 19, 2023 21:285,90089,788,49118,879,86302,301,952
12Jun 19, 2023 21:285,90387,426,15118,890,21002,306,048