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 listNov 27, 2024 18:37Hayden DonnellyHayden DonnellyScore: 10,305Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 27, 2024 18:3710,12554,772,7611,012,00031,389,0002,293,760
2Nov 27, 2024 18:3910,13152,620,9713,039,00029,380,0002,293,760
3Nov 27, 2024 18:3910,13453,357,5506,080,00026,348,0002,387,968
4Nov 27, 2024 18:3910,17159,876,3321,017,00031,531,0002,293,760
5Nov 27, 2024 18:3910,21557,827,8994,086,00028,603,0002,293,760
6Nov 27, 2024 18:3710,26559,387,6233,981,00028,866,0002,383,872
7Nov 27, 2024 18:3710,26658,616,4224,977,00027,873,0002,486,272
8Nov 27, 2024 18:3710,27163,359,5835,975,00026,891,0002,293,760
9Nov 27, 2024 18:3910,27266,432,8832,988,00029,881,0002,293,760
10Nov 27, 2024 18:3910,29756,772,5647,988,00024,963,0002,396,160
11Nov 27, 2024 18:3910,30558,634,8266,995,00025,981,0002,392,064
12Nov 27, 2024 18:3910,31157,488,1703,999,00028,996,0002,392,064
13Nov 27, 2024 18:3910,33863,581,4175,012,00028,071,0002,293,760
14Nov 27, 2024 18:3710,35660,902,1517,029,00026,109,0002,392,064
15Nov 27, 2024 18:3710,38156,290,3594,026,00029,192,0002,297,856
16Nov 27, 2024 18:3910,41854,875,1701,010,00032,327,0002,293,760
17Nov 27, 2024 18:3710,43165,972,4179,103,00024,276,0002,383,872
18Nov 27, 2024 18:3910,50662,564,8867,131,00026,489,0002,293,760
19Nov 27, 2024 18:3910,53460,507,18510,905,00022,803,0002,486,272
20Nov 27, 2024 18:3710,57665,507,0674,977,00028,867,0002,392,064
21Nov 27, 2024 18:3710,58563,784,8236,973,00026,898,0002,387,968