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 listJul 13, 2024 18:31kytanskytansScore: 5,768Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2024 18:315,70539,650,99916,228,0002,028,0002,404,352
2Jul 13, 2024 18:315,71344,107,63816,251,0002,031,0002,269,184
3Jul 13, 2024 18:315,72636,074,08118,324,00002,269,184
4Jul 13, 2024 18:315,74341,924,90218,377,00002,404,352
5Jul 13, 2024 18:315,74344,460,16017,358,0001,021,0002,494,464
6Jul 13, 2024 18:315,74848,804,47217,372,0001,021,0002,269,184
7Jul 13, 2024 18:315,76834,027,12818,459,00002,269,184
8Jul 13, 2024 18:315,77633,799,26118,482,00002,400,256
9Jul 13, 2024 18:315,78743,020,64718,517,00002,269,184
10Jul 13, 2024 18:316,096103,259,97819,508,20802,289,664
11Jul 13, 2024 18:316,14787,899,81119,670,54202,289,664
12Jul 13, 2024 18:316,37790,414,19320,405,74502,301,952