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 listAug 13, 2024 21:27zielajzielajScore: 4,340Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 13, 2024 21:274,29738,124,98712,692,0001,057,0002,535,424
2Aug 13, 2024 21:274,33537,937,18311,890,0001,981,0002,273,280
3Aug 13, 2024 21:274,33631,756,81411,893,0001,982,0002,273,280
4Aug 13, 2024 21:274,33729,582,01112,887,000991,0002,449,408
5Aug 13, 2024 21:274,33730,001,68511,896,0001,982,0002,535,424
6Aug 13, 2024 21:274,33830,271,85012,891,000991,0002,535,424
7Aug 13, 2024 21:274,34032,735,26012,897,000992,0002,445,312
8Aug 13, 2024 21:274,34529,487,76211,917,0001,986,0002,449,408
9Aug 13, 2024 21:274,35238,850,51011,937,0001,989,0002,273,280
10Aug 13, 2024 21:274,55658,885,81314,579,25302,330,624
11Aug 13, 2024 21:274,57291,103,87114,629,06002,334,720
12Aug 13, 2024 21:274,58784,303,05514,678,18402,199,552