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 14:43Robert BurkeRobert BurkeScore: 4,453Success
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 14:264,42531,584,38612,138,0002,023,0002,281,472
2Apr 18, 2024 14:434,42830,788,03012,145,0002,024,0002,441,216
3Apr 18, 2024 14:264,42829,321,83112,147,0002,024,0002,453,504
4Apr 18, 2024 14:264,43031,802,65812,151,0002,025,0002,281,472
5Apr 18, 2024 14:264,43232,038,42012,156,0002,026,0002,449,408
6Apr 18, 2024 14:264,43833,297,54112,172,0002,028,0002,281,472
7Apr 18, 2024 14:434,43926,631,07312,176,0002,029,0002,453,504
8Apr 18, 2024 14:434,44129,374,21412,181,0002,030,0002,281,472
9Apr 18, 2024 14:434,44238,215,48212,185,0002,030,0002,445,312
10Apr 18, 2024 14:434,44332,342,63612,187,0002,031,0002,449,408
11Apr 18, 2024 14:434,44830,071,30012,199,0002,033,0002,273,280
12Apr 18, 2024 14:434,45228,058,46912,212,0002,035,0002,281,472
13Apr 18, 2024 14:264,45337,819,33812,213,0002,035,0002,281,472
14Apr 18, 2024 14:264,45527,400,00812,219,0002,036,0002,445,312
15Apr 18, 2024 14:264,46030,615,26513,252,0001,019,0002,535,424
16Apr 18, 2024 14:264,46233,864,38312,238,0002,039,0002,535,424
17Apr 18, 2024 14:434,46237,980,92913,259,0001,019,0002,281,472
18Apr 18, 2024 14:434,47035,371,64813,284,0001,021,0002,449,408
19Apr 18, 2024 14:434,73363,009,07415,146,40902,203,648
20Apr 18, 2024 14:264,74190,306,69615,172,45102,203,648
21Apr 18, 2024 14:264,74492,216,95715,181,24302,207,744
22Apr 18, 2024 14:434,74973,364,95615,197,22602,203,648
23Apr 18, 2024 14:264,75391,296,08615,208,35502,203,648
24Apr 18, 2024 14:434,75485,875,24215,212,71202,203,648