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 16, 2024 04:45AnSaAnSaScore: 5,757Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2024 04:455,70640,865,16616,230,0002,028,0002,277,376
2Jun 16, 2024 04:455,71234,677,17416,248,0002,031,0002,281,472
3Jun 16, 2024 04:455,71935,796,55216,267,0002,033,0002,277,376
4Jun 16, 2024 04:455,73339,544,72216,307,0002,038,0002,277,376
5Jun 16, 2024 04:455,75239,534,81716,360,0002,045,0002,396,160
6Jun 16, 2024 04:455,75339,442,11417,387,0001,022,0002,269,184
7Jun 16, 2024 04:455,75749,958,10017,400,0001,023,0002,277,376
8Jun 16, 2024 04:455,76342,684,44315,368,0003,073,0002,375,680
9Jun 16, 2024 04:455,77842,725,82315,407,0003,081,0002,273,280
10Jun 16, 2024 04:455,98793,994,54919,158,55802,301,952
11Jun 16, 2024 04:456,01583,027,08319,246,79902,289,664
12Jun 16, 2024 04:456,05685,335,95619,379,01902,306,048