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 17:55Robert BurkeRobert BurkeScore: 4,512Success
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 17:554,47828,496,84714,331,00002,433,024
2Apr 18, 2024 17:554,48834,143,12514,360,00002,281,472
3Apr 18, 2024 17:554,49442,093,02214,382,00002,433,024
4Apr 18, 2024 17:554,49630,243,16114,388,00002,437,120
5Apr 18, 2024 17:554,50231,721,10714,405,00002,281,472
6Apr 18, 2024 17:554,50631,368,78013,390,0001,030,0002,281,472
7Apr 18, 2024 17:554,51227,868,32413,408,0001,031,0002,514,944
8Apr 18, 2024 17:554,51630,583,09213,420,0001,032,0002,523,136
9Apr 18, 2024 17:554,52034,892,87513,430,0001,033,0002,433,024
10Apr 18, 2024 17:554,75278,256,24615,207,90602,179,072
11Apr 18, 2024 17:554,78086,325,23315,296,28302,191,360
12Apr 18, 2024 17:554,78977,356,96115,323,85902,183,168