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 18:57Joad NacerJoad NacerScore: 5,398Success
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 18:575,28540,795,57214,923,0001,989,0002,273,280
2Apr 17, 2024 18:575,34141,261,03515,081,0002,010,0002,527,232
3Apr 17, 2024 18:575,36942,912,49115,161,0002,021,0002,289,664
4Apr 17, 2024 18:575,37142,942,77115,165,0002,022,0002,289,664
5Apr 17, 2024 18:575,37744,658,12315,181,0002,024,0002,527,232
6Apr 17, 2024 18:575,37936,731,04015,189,0002,025,0002,527,232
7Apr 17, 2024 18:575,39840,189,58216,259,0001,016,0002,355,200
8Apr 17, 2024 18:575,40445,266,73815,259,0002,034,0002,289,664
9Apr 17, 2024 18:575,40535,969,68815,262,0002,035,0002,289,664
10Apr 17, 2024 18:575,51877,316,07917,659,13802,306,048
11Apr 17, 2024 18:575,527106,476,05617,687,65102,297,856
12Apr 17, 2024 18:575,54883,508,29817,752,97002,297,856