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 listFeb 22, 2024 13:43Huy Duc LeHuy Duc LeScore: 4,801Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 13:434,75741,769,78314,207,0001,014,0002,265,088
2Feb 22, 2024 13:434,75730,647,33414,208,0001,014,0002,383,872
3Feb 22, 2024 13:434,76143,873,78514,220,0001,015,0002,265,088
4Feb 22, 2024 13:434,76735,188,24513,220,0002,033,0002,265,088
5Feb 22, 2024 13:434,78845,068,36615,323,00002,527,232
6Feb 22, 2024 13:434,78946,807,49814,304,0001,021,0002,387,968
7Feb 22, 2024 13:434,80148,806,50014,339,0001,024,0002,387,968
8Feb 22, 2024 13:434,80232,114,88015,367,00002,392,064
9Feb 22, 2024 13:434,81233,900,00913,346,0002,053,0002,396,160
10Feb 22, 2024 13:435,01075,441,85016,033,07802,281,472
11Feb 22, 2024 13:435,02181,883,31116,066,90102,289,664
12Feb 22, 2024 13:435,03186,785,27016,098,41202,293,760