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 26, 2024 13:04vahookvahookScore: 4,341Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 26, 2024 13:044,32733,975,15111,868,0001,978,0002,277,376
2Aug 26, 2024 13:044,33631,732,91212,884,000991,0002,498,560
3Aug 26, 2024 13:044,33832,097,87012,890,000991,0002,277,376
4Aug 26, 2024 13:044,33929,649,63512,894,000991,0002,277,376
5Aug 26, 2024 13:044,33935,591,59312,895,000991,0002,490,368
6Aug 26, 2024 13:044,34129,007,53213,890,00002,498,560
7Aug 26, 2024 13:044,34131,711,91112,899,000992,0002,494,464
8Aug 26, 2024 13:044,35032,395,22212,927,000994,0002,498,560
9Aug 26, 2024 13:044,35631,253,33112,944,000995,0002,498,560
10Aug 26, 2024 13:044,58670,549,21914,675,94802,383,872
11Aug 26, 2024 13:044,59681,627,47914,707,06602,240,512
12Aug 26, 2024 13:044,61685,631,89314,771,95502,383,872