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 listOct 28, 2024 19:03ndrenndrenScore: 24,773Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 28, 2024 19:0523,07298,516,06449,885,00023,945,0002,281,472
2Oct 28, 2024 19:0523,085109,844,73946,918,00026,953,0002,289,664
3Oct 28, 2024 19:0523,094101,253,50148,934,00024,966,0002,293,760
4Oct 28, 2024 19:0523,103100,732,70343,959,00029,972,0002,289,664
5Oct 28, 2024 19:0523,106101,689,59447,961,00025,979,0002,486,272
6Oct 28, 2024 19:0523,12899,464,63245,007,00029,004,0002,285,568
7Oct 28, 2024 19:0523,136102,906,53854,026,00020,009,0002,289,664
8Oct 28, 2024 19:0523,145100,795,21630,025,00044,038,0002,486,272
9Oct 28, 2024 19:0523,150100,519,95543,046,00031,033,0002,281,472
10Oct 28, 2024 19:0424,693106,645,19752,013,00027,006,0002,289,664
11Oct 28, 2024 19:0424,736102,233,84843,085,00036,071,0002,289,664
12Oct 28, 2024 19:0424,751101,182,97843,111,00036,093,0002,273,280
13Oct 28, 2024 19:0424,770105,706,23154,180,00025,083,0002,277,376
14Oct 28, 2024 19:0424,773100,342,73545,155,00034,117,0002,281,472
15Oct 28, 2024 19:0424,773101,718,78055,190,00024,082,0002,289,664
16Oct 28, 2024 19:0424,808102,510,42351,249,00028,137,0002,269,184
17Oct 28, 2024 19:0424,842102,044,65748,301,00031,194,0002,527,232
18Oct 28, 2024 19:0424,882108,247,43645,355,00034,268,0002,265,088
19Oct 28, 2024 19:0331,897123,278,22467,046,00035,024,0002,273,280
20Oct 28, 2024 19:0332,057129,810,44757,325,00045,256,0002,289,664
21Oct 28, 2024 19:0332,128128,471,32253,900,00048,909,0002,289,664
22Oct 28, 2024 19:0332,136133,648,96356,909,00045,927,0002,281,472
23Oct 28, 2024 19:0332,139131,975,68068,896,00033,948,0002,289,664
24Oct 28, 2024 19:0332,217126,448,22862,057,00041,038,0002,281,472
25Oct 28, 2024 19:0332,361136,667,21067,362,00036,194,0002,281,472
26Oct 28, 2024 19:0332,491130,776,20861,982,00041,988,0002,289,664
27Oct 28, 2024 19:0332,648125,453,80563,288,00041,187,0002,289,664