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 listJan 22, 2024 09:21Alexander MonakovAlexander MonakovScore: 4,581Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 09:214,55432,070,36114,572,00002,535,424
2Jan 22, 2024 09:214,55940,971,68114,590,00002,277,376
3Jan 22, 2024 09:214,56030,524,71414,592,00002,277,376
4Jan 22, 2024 09:214,56435,308,75514,606,00002,494,464
5Jan 22, 2024 09:214,57728,318,78714,647,00002,277,376
6Jan 22, 2024 09:214,58033,277,84014,656,00002,494,464
7Jan 22, 2024 09:214,58137,605,73014,658,00002,277,376
8Jan 22, 2024 09:214,58144,390,10414,660,00002,494,464
9Jan 22, 2024 09:214,59833,381,75814,713,00002,490,368
10Jan 22, 2024 09:214,82582,647,03015,441,10302,236,416
11Jan 22, 2024 09:214,83092,056,95515,455,41902,236,416
12Jan 22, 2024 09:214,86782,088,97315,574,26202,240,512