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 7, 2024 01:21zielajzielajScore: 4,764Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 7, 2024 01:214,72336,772,61814,105,0001,007,0002,269,184
2Aug 7, 2024 01:214,72733,368,38713,110,0002,017,0002,289,664
3Aug 7, 2024 01:214,73531,148,28913,131,0002,020,0002,289,664
4Aug 7, 2024 01:214,75231,409,32413,180,0002,027,0002,273,280
5Aug 7, 2024 01:214,75737,612,32115,222,00002,289,664
6Aug 7, 2024 01:214,75930,832,67113,198,0002,030,0002,289,664
7Aug 7, 2024 01:214,76431,724,17313,214,0002,032,0002,273,280
8Aug 7, 2024 01:214,77040,300,55813,230,0002,035,0002,265,088
9Aug 7, 2024 01:214,77232,990,64613,235,0002,036,0002,269,184
10Aug 7, 2024 01:214,96073,712,25315,873,59802,306,048
11Aug 7, 2024 01:214,99780,849,93515,991,47602,297,856
12Aug 7, 2024 01:215,00387,499,58316,008,32102,318,336