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 listJan 3, 2023 01:05Alexander KimAlexander KimScore: 5,680Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 01:055,62642,302,93716,002,0002,000,0002,342,912
2Jan 3, 2023 01:055,64150,376,85417,049,0001,002,0002,342,912
3Jan 3, 2023 01:055,64846,394,71417,070,0001,004,0002,289,664
4Jan 3, 2023 01:055,65046,181,69616,071,0002,008,0002,289,664
5Jan 3, 2023 01:055,66542,644,25016,114,0002,014,0002,342,912
6Jan 3, 2023 01:055,67747,811,92516,149,0002,018,0002,342,912
7Jan 3, 2023 01:055,68044,605,18017,168,0001,009,0002,342,912
8Jan 3, 2023 01:055,68142,284,20016,160,0002,020,0002,342,912
9Jan 3, 2023 01:055,69733,840,25916,206,0002,025,0002,285,568
10Jan 3, 2023 01:055,73673,851,87718,355,52002,252,800
11Jan 3, 2023 01:055,78680,084,75718,513,99802,252,800
12Jan 3, 2023 01:055,80396,421,11518,569,97402,256,896