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 22, 2024 00:35KeKazartsevKeKazartsevError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2024 00:3300000Error: expected "975738 ", got "3852 "
2Dec 22, 2024 00:3422,59299,812,28470,285,0002,008,0002,371,584
3Dec 22, 2024 00:3422,672105,515,55272,551,00002,269,184
4Dec 22, 2024 00:3422,679105,563,02071,566,0001,007,0002,273,280
5Dec 22, 2024 00:3422,689102,719,78971,597,0001,008,0002,273,280
6Dec 22, 2024 00:3422,74399,494,01371,782,000996,0002,273,280
7Dec 22, 2024 00:3422,78296,921,38370,906,0001,997,0002,269,184
8Dec 22, 2024 00:3422,84497,268,95471,099,0002,002,0002,273,280
9Dec 22, 2024 00:3422,938101,025,60472,396,0001,005,0002,260,992
10Dec 22, 2024 00:3623,00396,898,90672,600,0001,008,0002,273,280
11Dec 22, 2024 00:3623,06799,930,63571,819,0001,994,0002,269,184
12Dec 22, 2024 00:3425,631102,609,04380,018,0002,000,0002,363,392
13Dec 22, 2024 00:3625,892105,336,46480,857,0001,996,0002,273,280
14Dec 22, 2024 00:3626,124110,148,21382,590,0001,007,0002,273,280
15Dec 22, 2024 00:3626,237110,172,30280,959,0002,998,0002,273,280
16Dec 22, 2024 00:3527,578114,197,13485,243,0003,008,0002,273,280
17Dec 22, 2024 00:3527,630115,605,02986,406,0002,009,0002,260,992
18Dec 22, 2024 00:3527,747115,903,64787,793,000997,0002,273,280
19Dec 22, 2024 00:3629,905131,339,34094,688,0001,007,0002,269,184
20Dec 22, 2024 00:3533,878142,066,495107,405,0001,003,0002,265,088
21Dec 22, 2024 00:3534,036131,723,134107,917,000999,0002,273,280
22Dec 22, 2024 00:3534,541132,848,062109,527,0001,004,0002,273,280