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 listApr 18, 2024 19:33Robert BurkeRobert BurkeScore: 4,424Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 19:334,39729,978,69012,060,0002,010,0002,449,408
2Apr 18, 2024 19:334,40031,300,15812,069,0002,011,0002,445,312
3Apr 18, 2024 19:334,40234,385,41012,075,0002,012,0002,281,472
4Apr 18, 2024 19:334,40433,992,99312,081,0002,013,0002,449,408
5Apr 18, 2024 19:334,40732,550,30412,087,0002,014,0002,445,312
6Apr 18, 2024 19:334,42330,149,15612,132,0002,022,0002,281,472
7Apr 18, 2024 19:334,42428,922,19212,135,0002,022,0002,441,216
8Apr 18, 2024 19:334,44131,566,43712,180,0002,030,0002,281,472
9Apr 18, 2024 19:334,45232,174,61113,230,0001,017,0002,277,376
10Apr 18, 2024 19:334,67584,384,64314,959,79602,203,648
11Apr 18, 2024 19:334,69067,348,85315,006,69302,203,648
12Apr 18, 2024 19:334,69378,217,28115,017,70602,203,648