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 listJul 30, 2024 15:37BenBenScore: 4,790Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 15:374,76631,295,22014,236,0001,016,0002,351,104
2Jul 30, 2024 15:374,76833,213,31514,240,0001,017,0002,367,488
3Jul 30, 2024 15:374,77134,144,73614,249,0001,017,0002,363,392
4Jul 30, 2024 15:374,77143,837,86214,251,0001,017,0002,367,488
5Jul 30, 2024 15:374,77342,290,65014,257,0001,018,0002,494,464
6Jul 30, 2024 15:374,77431,976,05113,240,0002,037,0002,494,464
7Jul 30, 2024 15:374,79036,307,63412,263,0003,065,0002,363,392
8Jul 30, 2024 15:374,79435,255,11414,320,0001,022,0002,260,992
9Jul 30, 2024 15:374,80141,706,44813,315,0002,048,0002,519,040
10Jul 30, 2024 15:375,00085,774,98015,999,66502,277,376
11Jul 30, 2024 15:375,06267,607,43216,199,53502,277,376
12Jul 30, 2024 15:375,17964,351,07616,572,96702,277,376