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:39Joad NacerJoad NacerScore: 5,298Success
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:395,26842,320,11914,875,0001,983,0002,375,680
2Apr 17, 2024 03:395,27536,265,55314,895,0001,986,0002,273,280
3Apr 17, 2024 03:395,27842,836,77414,903,0001,987,0002,289,664
4Apr 17, 2024 03:395,27840,275,88914,903,0001,987,0002,269,184
5Apr 17, 2024 03:395,28243,114,55914,915,0001,988,0002,273,280
6Apr 17, 2024 03:395,28731,836,46814,929,0001,990,0002,273,280
7Apr 17, 2024 03:395,29848,303,21614,958,0001,994,0002,359,296
8Apr 17, 2024 03:395,31344,240,17516,001,0001,000,0002,269,184
9Apr 17, 2024 03:395,32434,043,18515,033,0002,004,0002,289,664
10Apr 17, 2024 03:395,48099,450,36617,535,54802,297,856
11Apr 17, 2024 03:395,50594,149,13117,615,44202,256,896
12Apr 17, 2024 03:395,53095,677,67517,694,68202,297,856