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,452Success
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,43132,025,86512,154,0002,025,0002,453,504
2Apr 18, 2024 14:184,43335,378,70412,159,0002,026,0002,445,312
3Apr 18, 2024 14:184,44632,136,60412,195,0002,032,0002,453,504
4Apr 18, 2024 14:184,44733,953,77912,197,0002,032,0002,281,472
5Apr 18, 2024 14:184,44738,049,43112,198,0002,033,0002,449,408
6Apr 18, 2024 14:184,44835,860,38612,201,0002,033,0002,281,472
7Apr 18, 2024 14:184,45230,841,82512,211,0002,035,0002,281,472
8Apr 18, 2024 14:184,45831,784,79114,264,00002,281,472
9Apr 18, 2024 14:184,47231,621,36512,266,0002,044,0002,449,408
10Apr 18, 2024 14:184,74476,409,91115,179,76302,256,896
11Apr 18, 2024 14:184,78396,925,18015,304,23602,203,648
12Apr 18, 2024 14:184,793101,757,77415,336,07902,326,528