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 17, 2024 03:09Joad NacerJoad NacerScore: 5,464Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 03:095,39938,880,61915,246,0002,032,0002,277,376
2Apr 17, 2024 03:095,42037,753,81515,304,0002,040,0002,289,664
3Apr 17, 2024 03:095,43041,940,94316,354,0001,022,0002,289,664
4Apr 17, 2024 03:095,43244,317,23717,382,00002,289,664
5Apr 17, 2024 03:095,43842,916,34116,377,0001,023,0002,289,664
6Apr 17, 2024 03:095,44040,680,23216,384,0001,024,0002,273,280
7Apr 17, 2024 03:095,46445,315,91815,543,0001,942,0002,273,280
8Apr 17, 2024 03:095,46842,550,65316,468,0001,029,0002,367,488
9Apr 17, 2024 03:095,47640,586,05116,494,0001,030,0002,289,664
10Apr 17, 2024 03:095,67983,795,33718,171,25802,297,856
11Apr 17, 2024 03:095,71082,431,90918,271,89402,297,856
12Apr 17, 2024 03:095,74586,097,08118,383,77602,306,048