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 listApr 29, 2024 22:05Joad NacerJoad NacerScore: 4,860Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 29, 2024 22:054,82636,585,03415,443,00002,289,664
2Apr 29, 2024 22:054,83632,048,55015,476,00002,285,568
3Apr 29, 2024 22:054,84838,459,08814,481,0001,034,0002,289,664
4Apr 29, 2024 22:054,84946,605,23114,482,0001,034,0002,269,184
5Apr 29, 2024 22:054,84937,822,63013,449,0002,069,0002,269,184
6Apr 29, 2024 22:054,85335,898,32514,495,0001,035,0002,289,664
7Apr 29, 2024 22:054,86031,664,76414,515,0001,036,0002,527,232
8Apr 29, 2024 22:054,87335,458,21314,553,0001,039,0002,523,136
9Apr 29, 2024 22:054,89032,864,78014,605,0001,043,0002,289,664
10Apr 29, 2024 22:055,10581,534,88716,336,83902,297,856
11Apr 29, 2024 22:055,11182,111,66316,354,13902,297,856
12Apr 29, 2024 22:055,13492,386,94016,428,54002,306,048