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 listFeb 27, 2023 19:09Andranik ChakiryanAndranik ChakiryanScore: 5,492Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 27, 2023 19:095,44536,832,71416,400,0001,025,0002,355,200
2Feb 27, 2023 19:095,45640,509,02617,460,00002,342,912
3Feb 27, 2023 19:095,47043,053,03317,503,00002,478,080
4Feb 27, 2023 19:095,47143,777,42816,477,0001,029,0002,338,816
5Feb 27, 2023 19:095,47636,299,57517,524,00002,351,104
6Feb 27, 2023 19:095,47839,008,95715,467,0002,062,0002,342,912
7Feb 27, 2023 19:095,49241,447,27515,506,0002,067,0002,359,296
8Feb 27, 2023 19:095,51347,505,14616,605,0001,037,0002,355,200
9Feb 27, 2023 19:095,52743,864,28116,646,0001,040,0002,342,912
10Feb 27, 2023 19:095,56972,843,63617,820,04702,183,168
11Feb 27, 2023 19:095,59959,044,00017,916,95502,191,360
12Feb 27, 2023 19:095,65785,358,67418,102,19302,183,168