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 17, 2024 03:15Joad NacerJoad NacerScore: 5,340Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 03:155,28246,719,50014,913,0001,988,0002,273,280
2Apr 17, 2024 03:155,29038,309,99614,936,0001,991,0002,269,184
3Apr 17, 2024 03:155,32540,203,56015,035,0002,004,0002,523,136
4Apr 17, 2024 03:155,32939,143,59815,048,0002,006,0002,269,184
5Apr 17, 2024 03:155,33843,656,32315,073,0002,009,0002,289,664
6Apr 17, 2024 03:155,34041,382,94716,082,0001,005,0002,265,088
7Apr 17, 2024 03:155,34032,346,43615,078,0002,010,0002,273,280
8Apr 17, 2024 03:155,35843,990,88616,136,0001,008,0002,289,664
9Apr 17, 2024 03:155,35938,496,75016,140,0001,008,0002,289,664
10Apr 17, 2024 03:155,55478,356,08917,773,33502,179,072
11Apr 17, 2024 03:155,55886,520,85117,784,07102,297,856
12Apr 17, 2024 03:155,56192,313,19717,795,33302,179,072