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 24, 2025 19:17lukostlukostScore: 5,324Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 19:175,29438,266,94514,949,0001,993,0002,396,160
2Apr 24, 2025 19:175,30342,574,05215,970,000998,0002,269,184
3Apr 24, 2025 19:175,31945,264,26116,020,0001,001,0002,269,184
4Apr 24, 2025 19:175,32341,823,19816,031,0001,001,0002,269,184
5Apr 24, 2025 19:175,32435,481,29916,036,0001,002,0002,269,184
6Apr 24, 2025 19:175,32539,597,85215,037,0002,004,0002,400,256
7Apr 24, 2025 19:175,33238,510,64315,055,0002,007,0002,269,184
8Apr 24, 2025 19:175,33643,271,18315,066,0002,008,0002,269,184
9Apr 24, 2025 19:175,33740,076,97916,075,0001,004,0002,510,848