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 2, 2023 20:46Yuriy LyfenkoYuriy LyfenkoScore: 9,045Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 2, 2023 22:588,315112,143,18526,608,51402,355,200
2Dec 2, 2023 22:589,036102,438,39028,915,91602,363,392
3Dec 2, 2023 20:469,04497,197,81928,942,21702,363,392
4Dec 2, 2023 22:589,04599,521,72228,943,26402,363,392
5Dec 2, 2023 20:469,065112,935,17329,007,21002,367,488
6Dec 2, 2023 20:469,069104,284,69829,022,16402,359,296