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 listSep 17, 2024 19:24Matvey BunosMatvey BunosScore: 6,008Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 17, 2024 19:245,97748,747,74717,114,0002,013,0002,269,184
2Sep 17, 2024 19:245,98543,563,89317,137,0002,016,0002,281,472
3Sep 17, 2024 19:245,99453,297,41118,172,0001,009,0002,277,376
4Sep 17, 2024 19:245,99946,219,79517,176,0002,020,0002,269,184
5Sep 17, 2024 19:246,00854,399,80117,201,0002,023,0002,273,280
6Sep 17, 2024 19:246,01351,967,33417,217,0002,025,0002,277,376
7Sep 17, 2024 19:246,01651,565,78117,226,0002,026,0002,277,376
8Sep 17, 2024 19:246,02748,028,04816,240,0003,045,0002,277,376
9Sep 17, 2024 19:246,03346,281,00416,259,0003,048,0002,277,376