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 listFeb 19, 2024 07:26Huy Duc LeHuy Duc LeScore: 5,604Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 19, 2024 07:265,57846,275,31617,850,00002,289,664
2Feb 19, 2024 07:265,57948,380,76415,870,0001,983,0002,289,664
3Feb 19, 2024 07:265,58043,916,20016,864,000992,0002,265,088
4Feb 19, 2024 07:265,59442,345,96815,912,0001,989,0002,289,664
5Feb 19, 2024 07:265,59644,495,47116,854,0001,053,0002,277,376
6Feb 19, 2024 07:265,60139,759,46515,932,0001,991,0002,289,664
7Feb 19, 2024 07:265,60446,970,66515,942,0001,992,0002,277,376
8Feb 19, 2024 07:265,61340,743,91015,965,0001,995,0002,527,232
9Feb 19, 2024 07:265,64140,095,89417,048,0001,002,0002,289,664
10Feb 19, 2024 07:265,78998,890,91418,525,68702,179,072
11Feb 19, 2024 07:265,80377,584,37018,568,73802,297,856
12Feb 19, 2024 07:265,82074,580,37718,622,72002,301,952