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 listDec 11, 2024 21:50MatthiasMatthiasScore: 4,823Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 11, 2024 21:514,75936,426,68214,214,0001,015,0002,285,568
2Dec 11, 2024 21:404,78844,711,23913,278,0002,042,0002,285,568
3Dec 11, 2024 21:404,79834,431,69714,329,0001,023,0002,265,088
4Dec 11, 2024 21:404,80530,938,57114,351,0001,025,0002,519,040
5Dec 11, 2024 21:404,80637,912,71015,378,00002,285,568
6Dec 11, 2024 21:404,81432,595,07815,405,00002,285,568
7Dec 11, 2024 21:404,81631,563,07214,383,0001,027,0002,285,568
8Dec 11, 2024 21:404,82335,182,60414,406,0001,029,0002,527,232
9Dec 11, 2024 21:514,83033,612,58214,425,0001,030,0002,285,568
10Dec 11, 2024 21:514,84133,808,43514,459,0001,032,0002,273,280
11Dec 11, 2024 21:404,85432,865,99714,497,0001,035,0002,285,568
12Dec 11, 2024 21:405,34947,706,60615,104,0002,013,0002,510,848
13Dec 11, 2024 21:505,46839,068,32516,467,0001,029,0002,285,568
14Dec 11, 2024 21:505,49139,892,05116,539,0001,033,0002,285,568
15Dec 11, 2024 21:505,58837,560,18115,895,0001,986,0002,285,568