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 28, 2023 10:57Robert BurkeRobert BurkeScore: 4,469Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 28, 2023 10:574,44130,390,46212,181,0002,030,0002,445,312
2Feb 28, 2023 10:574,44329,434,95712,186,0002,031,0002,281,472
3Feb 28, 2023 10:574,45535,230,20412,219,0002,036,0002,281,472
4Feb 28, 2023 10:574,45533,959,33013,238,0001,018,0002,281,472
5Feb 28, 2023 10:574,45930,043,68513,250,0001,019,0002,281,472
6Feb 28, 2023 10:574,46234,105,01713,258,0001,019,0002,281,472
7Feb 28, 2023 10:574,46932,599,37513,279,0001,021,0002,445,312
8Feb 28, 2023 10:574,47231,425,42113,289,0001,022,0002,281,472
9Feb 28, 2023 10:574,49540,060,06713,356,0001,027,0002,281,472
10Feb 28, 2023 10:574,67396,212,67314,953,66502,211,840
11Feb 28, 2023 10:574,69666,464,98115,027,61902,199,552
12Feb 28, 2023 10:574,70480,622,64115,053,09602,207,744