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 2, 2024 15:56Christopher TarryChristopher TarryScore: 65,728Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 2, 2024 20:3565,459269,106,773209,468,60902,244,608
2Apr 2, 2024 20:3565,588281,007,508209,880,85802,236,416
3May 2, 2024 15:5665,664264,515,841210,123,84002,240,512
4May 2, 2024 15:5665,728276,365,269210,329,32902,244,608
5May 2, 2024 15:5665,781283,170,930210,499,70602,240,512
6Apr 2, 2024 20:3565,979281,618,119211,131,78502,236,416