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 3, 2024 05:05MylesMylesScore: 4,528Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 05:054,50534,001,32813,388,0001,029,0002,281,472
2Aug 3, 2024 05:054,50535,703,72613,388,0001,029,0002,441,216
3Aug 3, 2024 05:054,51128,868,10013,403,0001,031,0002,449,408
4Aug 3, 2024 05:054,52230,511,65513,438,0001,033,0002,281,472
5Aug 3, 2024 05:054,52330,244,87013,441,0001,033,0002,453,504
6Aug 3, 2024 05:054,52431,042,47414,477,00002,449,408
7Aug 3, 2024 05:054,52834,306,15013,456,0001,035,0002,281,472
8Aug 3, 2024 05:054,53333,283,04913,471,0001,036,0002,281,472
9Aug 3, 2024 05:054,56130,990,64214,594,00002,277,376
10Aug 3, 2024 05:054,76872,419,50915,256,21802,199,552
11Aug 3, 2024 05:054,80082,947,89515,360,49602,203,648
12Aug 3, 2024 05:054,80488,002,92415,372,65102,338,816