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 listApr 18, 2024 14:18Robert BurkeRobert BurkeScore: 4,460Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 14:184,43328,804,45512,160,0002,026,0002,281,472
2Apr 18, 2024 14:184,43328,696,52812,160,0002,026,0002,281,472
3Apr 18, 2024 14:184,44239,517,83012,184,0002,030,0002,281,472
4Apr 18, 2024 14:184,44629,878,85213,211,0001,016,0002,281,472
5Apr 18, 2024 14:184,45036,890,36312,207,0002,034,0002,277,376
6Apr 18, 2024 14:184,45234,032,57712,212,0002,035,0002,445,312
7Apr 18, 2024 14:184,46033,187,78412,233,0002,038,0002,277,376
8Apr 18, 2024 14:184,46333,259,81513,260,0001,020,0002,441,216
9Apr 18, 2024 14:184,46635,260,28513,272,0001,020,0002,449,408
10Apr 18, 2024 14:184,73579,056,53515,152,64502,334,720
11Apr 18, 2024 14:184,78191,883,28715,298,29502,203,648
12Apr 18, 2024 14:184,78483,847,62715,308,07402,203,648