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 25, 2021 12:45Mikhail DektyarevMikhail DektyarevScore: 5,654Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 12:455,62436,095,57214,997,0002,999,0002,519,040
2May 25, 2021 12:455,63339,149,65216,023,0002,002,0002,510,848
3May 25, 2021 12:455,63436,691,43316,025,0002,003,0002,396,160
4May 25, 2021 12:455,63748,078,57017,037,0001,002,0002,519,040
5May 25, 2021 12:455,64249,527,53217,052,0001,003,0002,519,040
6May 25, 2021 12:455,64345,619,61117,056,0001,003,0002,519,040
7May 25, 2021 12:455,64733,508,31116,062,0002,007,0002,510,848
8May 25, 2021 12:455,64733,527,69817,067,0001,003,0002,519,040
9May 25, 2021 12:455,64843,688,45016,065,0002,008,0002,392,064
10May 25, 2021 12:455,65144,630,23015,070,0003,014,0002,387,968
11May 25, 2021 12:455,65243,799,09616,077,0002,009,0002,519,040
12May 25, 2021 12:455,65245,388,81817,082,0001,004,0002,519,040
13May 25, 2021 12:455,65441,848,18517,089,0001,005,0002,392,064
14May 25, 2021 12:455,65438,253,30417,087,0001,005,0002,519,040
15May 25, 2021 12:455,66445,084,49716,112,0002,014,0002,383,872
16May 25, 2021 12:455,66552,670,38117,122,0001,007,0002,387,968
17May 25, 2021 12:455,66845,771,58716,122,0002,015,0002,519,040
18May 25, 2021 12:455,68042,170,58815,148,0003,029,0002,387,968
19May 25, 2021 12:455,69287,093,40418,215,47802,281,472
20May 25, 2021 12:455,70143,938,28518,242,84002,277,376
21May 25, 2021 12:455,70256,265,01618,247,72102,277,376
22May 25, 2021 12:455,71576,455,21218,286,44102,281,472
23May 25, 2021 12:455,72983,673,62018,333,05302,277,376
24May 25, 2021 12:455,76359,642,29518,440,57302,273,280