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:42Joad NacerJoad NacerScore: 5,318Success
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:425,27333,848,69414,890,0001,985,0002,277,376
2Apr 17, 2024 15:425,28044,214,87314,909,0001,987,0002,289,664
3Apr 17, 2024 15:425,28540,881,72214,922,0001,989,0002,269,184
4Apr 17, 2024 15:425,29043,169,86314,938,0001,991,0002,289,664
5Apr 17, 2024 15:425,30139,179,22014,967,0001,995,0002,289,664
6Apr 17, 2024 15:425,30734,466,48414,984,0001,997,0002,289,664
7Apr 17, 2024 15:425,31834,434,06215,016,0002,002,0002,281,472
8Apr 17, 2024 15:425,32439,601,80016,034,0001,002,0002,281,472
9Apr 17, 2024 15:425,35140,649,52515,110,0002,014,0002,289,664
10Apr 17, 2024 15:425,49988,819,48217,595,85802,297,856
11Apr 17, 2024 15:425,506117,554,38417,620,69202,306,048
12Apr 17, 2024 15:425,57287,960,72317,830,54302,301,952