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 13, 2024 12:56AndreyTSAndreyTSScore: 5,475Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 12:565,42434,406,56017,358,00002,269,184
2Jun 13, 2024 12:575,42735,723,93816,345,0001,021,0002,289,664
3Jun 13, 2024 12:575,44342,172,37116,392,0001,024,0002,289,664
4Jun 13, 2024 12:575,44640,255,18816,402,0001,025,0002,289,664
5Jun 13, 2024 12:565,45340,360,42016,424,0001,026,0002,289,664
6Jun 13, 2024 12:575,45534,969,74117,456,00002,285,568
7Jun 13, 2024 12:565,45538,620,00616,431,0001,026,0002,277,376
8Jun 13, 2024 12:575,45645,553,62716,432,0001,027,0002,289,664
9Jun 13, 2024 12:575,45734,614,62116,434,0001,027,0002,289,664
10Jun 13, 2024 12:575,45840,953,08617,464,00002,289,664
11Jun 13, 2024 12:575,47242,854,16117,509,00002,289,664
12Jun 13, 2024 12:565,47440,881,43616,486,0001,030,0002,289,664
13Jun 13, 2024 12:565,47540,159,25616,490,0001,030,0002,281,472
14Jun 13, 2024 12:575,47636,326,99716,493,0001,030,0002,273,280
15Jun 13, 2024 12:565,47939,976,07316,501,0001,031,0002,289,664
16Jun 13, 2024 12:565,48244,479,75316,511,0001,031,0002,289,664
17Jun 13, 2024 12:565,48839,972,58416,528,0001,033,0002,289,664
18Jun 13, 2024 12:565,49146,739,37316,537,0001,033,0002,269,184
19Jun 13, 2024 12:565,66758,723,44818,135,47202,174,976
20Jun 13, 2024 12:575,67977,364,93518,172,88102,174,976
21Jun 13, 2024 12:565,68864,509,28018,200,55902,301,952
22Jun 13, 2024 12:575,69272,544,90718,215,85502,174,976
23Jun 13, 2024 12:565,73480,468,98818,349,62702,310,144
24Jun 13, 2024 12:575,77572,872,84518,478,84502,301,952