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 4, 2024 00:36jeffplaisancejeffplaisanceScore: 4,453Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 00:364,41928,463,81512,120,0002,020,0002,498,560
2Aug 4, 2024 00:364,42834,204,25413,157,0001,012,0002,494,464
3Aug 4, 2024 00:364,43330,289,29313,174,0001,013,0002,277,376
4Aug 4, 2024 00:364,43632,107,14512,167,0002,027,0002,277,376
5Aug 4, 2024 00:364,44227,427,48613,200,0001,015,0002,277,376
6Aug 4, 2024 00:364,44333,738,88413,203,0001,015,0002,494,464
7Aug 4, 2024 00:364,45333,197,30912,214,0002,035,0002,494,464
8Aug 4, 2024 00:364,45628,513,39413,241,0001,018,0002,277,376
9Aug 4, 2024 00:364,46037,516,55812,234,0002,039,0002,490,368
10Aug 4, 2024 00:364,67964,378,08314,972,92902,240,512
11Aug 4, 2024 00:364,71686,713,44715,089,67802,236,416
12Aug 4, 2024 00:364,71682,871,71915,090,48902,244,608