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 listMay 16, 2021 09:34alex3dalex3dScore: 4,745Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 09:344,7095,283,872,44513,992,0001,076,0002,523,136
2May 16, 2021 09:344,7168,183,366,03114,014,0001,078,0002,523,136
3May 16, 2021 09:344,7211,446,135,00114,029,0001,079,0002,441,216
4May 16, 2021 09:344,7233,610,669,84715,113,00002,523,136
5May 16, 2021 09:344,7261,019,006,74814,114,0001,008,0002,523,136
6May 16, 2021 09:344,7266,086,777,48315,123,00002,523,136
7May 16, 2021 09:344,728520,022,70414,121,0001,008,0002,523,136
8May 16, 2021 09:344,7299,593,803,71415,134,00002,523,136
9May 16, 2021 09:344,731547,971,67413,120,0002,018,0002,523,136
10May 16, 2021 09:344,731555,240,26812,302,0002,838,0002,523,136
11May 16, 2021 09:344,7327,947,592,63514,133,0001,009,0002,519,040
12May 16, 2021 09:344,7328,309,508,80513,123,0002,018,0002,523,136
13May 16, 2021 09:344,7335,037,437,21814,063,0001,081,0002,523,136
14May 16, 2021 09:344,7334,203,522,97513,126,0002,019,0002,523,136
15May 16, 2021 09:344,7338,261,080,62913,126,0002,019,0002,519,040
16May 16, 2021 09:344,7339,447,018,31913,126,0002,019,0002,523,136
17May 16, 2021 09:344,7342,217,682,74815,149,00002,514,944
18May 16, 2021 09:344,7389,117,586,92113,140,0002,021,0002,514,944
19May 16, 2021 09:344,7409,016,248,26515,167,00002,523,136
20May 16, 2021 09:344,7411,461,441,86713,275,0001,896,0002,523,136
21May 16, 2021 09:344,7418,951,018,45615,171,00002,523,136
22May 16, 2021 09:344,7425,340,746,21615,174,00002,514,944
23May 16, 2021 09:344,742992,256,47914,090,0001,083,0002,453,504
24May 16, 2021 09:344,7445,722,910,69013,013,0002,168,0002,523,136
25May 16, 2021 09:344,7451,524,978,02914,172,0001,012,0002,523,136
26May 16, 2021 09:344,7507,681,892,92613,029,0002,171,0002,523,136
27May 16, 2021 09:344,7513,425,712,06914,191,0001,013,0002,523,136
28May 16, 2021 09:344,7526,100,663,61414,193,0001,013,0002,514,944
29May 16, 2021 09:344,7557,552,647,87814,203,0001,014,0002,523,136
30May 16, 2021 09:344,7595,813,156,28414,214,0001,015,0002,523,136
31May 16, 2021 09:344,7626,181,635,50415,237,00002,523,136
32May 16, 2021 09:344,7653,481,474,75215,248,00002,523,136
33May 16, 2021 09:344,7683,931,629,27415,256,00002,523,136
34May 16, 2021 09:344,7737,464,515,59913,237,0002,036,0002,523,136
35May 16, 2021 09:344,7745,467,045,56914,259,0001,018,0002,523,136
36May 16, 2021 09:344,7795,272,540,30514,275,0001,019,0002,523,136
37May 16, 2021 09:344,9329,968,110,02415,783,05902,277,376
38May 16, 2021 09:344,9437,000,914,16915,818,15902,281,472
39May 16, 2021 09:344,9471,507,448,43315,829,94902,277,376
40May 16, 2021 09:344,9526,062,292,31215,847,42302,285,568
41May 16, 2021 09:344,9552,434,874,44415,855,01602,281,472
42May 16, 2021 09:344,9629,584,805,15615,879,02402,281,472
43May 16, 2021 09:344,9664,368,514,86815,892,00802,277,376
44May 16, 2021 09:344,9753,077,331,66515,921,12802,285,568
45May 16, 2021 09:344,9763,283,606,29315,923,67502,273,280
46May 16, 2021 09:344,9815,763,311,45215,938,04002,285,568
47May 16, 2021 09:344,9933,054,709,61915,978,80902,281,472
48May 16, 2021 09:345,0263,474,739,40116,082,46702,281,472