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 listJun 30, 2024 13:55AnSaAnSaScore: 4,712Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 13:554,68534,603,58812,994,0001,999,0002,269,184
2Jun 30, 2024 13:554,68836,463,87114,000,0001,000,0002,531,328
3Jun 30, 2024 13:554,68937,039,05812,005,0003,001,0002,269,184
4Jun 30, 2024 13:554,69528,568,39012,019,0003,004,0002,490,368
5Jun 30, 2024 13:554,69531,364,95913,022,0002,003,0002,498,560
6Jun 30, 2024 13:554,70734,464,41814,059,0001,004,0002,498,560
7Jun 30, 2024 13:554,71232,953,24813,067,0002,010,0002,531,328
8Jun 30, 2024 13:554,72428,882,40913,102,0002,015,0002,269,184
9Jun 30, 2024 13:554,72530,714,78714,112,0001,008,0002,494,464
10Jun 30, 2024 13:554,94087,092,84015,808,15902,248,704
11Jun 30, 2024 13:554,94856,344,77215,835,11902,252,800
12Jun 30, 2024 13:554,96869,582,21515,899,01702,379,776