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 15:50Joad NacerJoad NacerScore: 5,364Success
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 15:505,33244,727,77015,056,0002,007,0002,527,232
2Apr 17, 2024 15:505,33338,243,59615,059,0002,007,0002,289,664
3Apr 17, 2024 15:505,35035,886,46415,105,0002,014,0002,273,280
4Apr 17, 2024 15:505,35541,445,85215,121,0002,016,0002,269,184
5Apr 17, 2024 15:505,35639,356,88115,123,0002,016,0002,289,664
6Apr 17, 2024 15:505,36234,870,08515,141,0002,018,0002,289,664
7Apr 17, 2024 15:505,36441,972,85216,157,0001,009,0002,289,664
8Apr 17, 2024 15:505,39345,581,80215,229,0002,030,0002,277,376
9Apr 17, 2024 15:505,39440,848,43016,247,0001,015,0002,289,664
10Apr 17, 2024 15:505,58567,061,64217,871,88002,297,856
11Apr 17, 2024 15:505,590104,421,76817,888,42102,179,072
12Apr 17, 2024 15:505,613107,957,04617,963,00102,297,856