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:18Robert BurkeRobert BurkeScore: 4,406Success
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:184,38641,777,00912,031,0002,005,0002,457,600
2Apr 18, 2024 19:184,39132,911,46812,045,0002,007,0002,281,472
3Apr 18, 2024 19:184,39334,158,99012,051,0002,008,0002,281,472
4Apr 18, 2024 19:184,40034,862,92712,069,0002,011,0002,281,472
5Apr 18, 2024 19:184,40433,023,64112,079,0002,013,0002,281,472
6Apr 18, 2024 19:184,40531,830,79112,082,0002,013,0002,457,600
7Apr 18, 2024 19:184,40630,254,96012,086,0002,014,0002,281,472
8Apr 18, 2024 19:184,40836,944,22612,092,0002,015,0002,453,504
9Apr 18, 2024 19:184,41329,947,59012,104,0002,017,0002,531,328
10Apr 18, 2024 19:184,69055,466,31015,008,75602,203,648
11Apr 18, 2024 19:184,70281,078,43315,046,52602,326,528
12Apr 18, 2024 19:184,70481,358,07515,051,66502,260,992