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 31, 2024 21:27Yuriy LyfenkoYuriy LyfenkoScore: 4,406Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 31, 2024 21:274,383636,044,65612,022,0002,003,0002,273,280
2Aug 31, 2024 21:274,384635,016,79112,025,0002,004,0002,453,504
3Aug 31, 2024 21:274,391637,886,18612,043,0002,007,0002,269,184
4Aug 31, 2024 21:274,400640,531,20812,068,0002,011,0002,273,280
5Aug 31, 2024 21:274,400636,675,69912,069,0002,011,0002,285,568
6Aug 31, 2024 21:274,405637,814,96212,082,0002,013,0002,273,280
7Aug 31, 2024 21:274,406633,029,34812,085,0002,014,0002,273,280
8Aug 31, 2024 21:274,407636,577,38512,087,0002,014,0002,273,280
9Aug 31, 2024 21:274,411639,161,15612,098,0002,016,0002,449,408
10Aug 31, 2024 21:274,418635,728,98012,118,0002,019,0002,449,408
11Aug 31, 2024 21:274,418638,538,25812,119,0002,019,0002,273,280
12Aug 31, 2024 21:274,425633,992,79113,070,0001,089,0002,535,424