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 27, 2021 10:23Ilya AniskovetsIlya AniskovetsScore: 5,439Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 27, 2021 10:235,37740,554,98815,181,0002,024,0002,379,776
2Oct 27, 2021 10:235,38641,703,49715,207,0002,027,0002,519,040
3Oct 27, 2021 10:235,39846,341,98115,240,0002,032,0002,519,040
4Oct 27, 2021 10:235,39847,694,53515,240,0002,032,0002,519,040
5Oct 27, 2021 10:235,40149,681,92214,233,0003,050,0002,379,776
6Oct 27, 2021 10:235,40338,353,56814,238,0003,051,0002,523,136
7Oct 27, 2021 10:235,40842,723,03016,289,0001,018,0002,379,776
8Oct 27, 2021 10:235,40937,196,71516,292,0001,018,0002,519,040
9Oct 27, 2021 10:235,42938,817,85816,352,0001,022,0002,519,040
10Oct 27, 2021 10:235,43347,872,19417,384,00002,519,040
11Oct 27, 2021 10:235,43341,100,94617,384,00002,387,968
12Oct 27, 2021 10:235,43731,803,88717,399,00002,519,040
13Oct 27, 2021 10:235,43939,462,72116,382,0001,023,0002,392,064
14Oct 27, 2021 10:235,44045,781,31415,360,0002,048,0002,383,872
15Oct 27, 2021 10:235,44443,082,07815,373,0002,049,0002,387,968
16Oct 27, 2021 10:235,45133,286,67516,418,0001,026,0002,387,968
17Oct 27, 2021 10:235,45338,564,32117,448,00002,519,040
18Oct 27, 2021 10:235,45545,705,55316,430,0001,026,0002,387,968
19Oct 27, 2021 10:235,65771,921,70218,103,24002,273,280
20Oct 27, 2021 10:235,658103,243,33518,105,54002,277,376
21Oct 27, 2021 10:235,65861,875,63518,105,38702,281,472
22Oct 27, 2021 10:235,67484,813,85318,156,10402,281,472
23Oct 27, 2021 10:235,68361,682,97118,184,28402,277,376
24Oct 27, 2021 10:235,69190,778,22818,212,45702,281,472