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 18, 2024 19:28Robert BurkeRobert BurkeScore: 4,441Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 19:284,39843,226,69512,063,0002,010,0002,281,472
2Apr 18, 2024 19:284,40531,283,57312,083,0002,013,0002,273,280
3Apr 18, 2024 19:284,41233,821,30212,102,0002,017,0002,453,504
4Apr 18, 2024 19:284,41926,602,32712,120,0002,020,0002,277,376
5Apr 18, 2024 19:284,42335,050,40912,131,0002,021,0002,449,408
6Apr 18, 2024 19:284,43429,331,95712,162,0002,027,0002,277,376
7Apr 18, 2024 19:284,44141,582,70312,180,0002,030,0002,281,472
8Apr 18, 2024 19:284,45834,268,11613,247,0001,019,0002,281,472
9Apr 18, 2024 19:284,54340,874,26413,498,0001,038,0002,449,408
10Apr 18, 2024 19:284,70184,481,18815,042,68802,207,744
11Apr 18, 2024 19:284,71976,624,12215,102,21502,215,936
12Apr 18, 2024 19:284,72882,927,06415,130,15502,207,744