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 24, 2023 21:37Andranik ChakiryanAndranik ChakiryanScore: 5,637Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 24, 2023 21:375,59945,247,30815,927,0001,990,0002,351,104
2Feb 24, 2023 21:375,60248,014,48815,935,0001,991,0002,342,912
3Feb 24, 2023 21:375,61346,933,89116,965,000997,0002,342,912
4Feb 24, 2023 21:375,61446,832,68416,968,000998,0002,355,200
5Feb 24, 2023 21:375,63044,219,51617,016,0001,000,0002,355,200
6Feb 24, 2023 21:375,63347,590,65417,026,0001,001,0002,342,912
7Feb 24, 2023 21:375,63745,540,47316,033,0002,004,0002,351,104
8Feb 24, 2023 21:375,64934,346,05617,074,0001,004,0002,338,816
9Feb 24, 2023 21:375,65347,788,11415,075,0003,015,0002,342,912
10Feb 24, 2023 21:375,66960,928,52818,139,31202,187,264
11Feb 24, 2023 21:375,70272,513,54718,246,68502,191,360
12Feb 24, 2023 21:375,72185,070,81718,307,80202,187,264