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 1, 2024 13:57Drew GarciaDrew GarciaScore: 5,658Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 1, 2024 13:575,60446,855,75015,942,0001,992,0002,281,472
2Apr 1, 2024 13:575,61546,282,99515,972,0001,996,0002,281,472
3Apr 1, 2024 14:005,61649,324,47315,974,0001,996,0002,281,472
4Apr 1, 2024 14:005,62247,271,74315,991,0001,998,0002,281,472
5Apr 1, 2024 14:005,62339,632,96515,995,0001,999,0002,281,472
6Apr 1, 2024 13:575,62845,745,77616,010,0002,001,0002,281,472
7Apr 1, 2024 14:005,63347,969,64515,022,0003,004,0002,277,376
8Apr 1, 2024 13:575,64051,016,58416,043,0002,005,0002,281,472
9Apr 1, 2024 14:005,64643,883,90818,066,00002,281,472
10Apr 1, 2024 13:575,65433,124,63716,084,0002,010,0002,392,064
11Apr 1, 2024 14:005,65451,541,25917,088,0001,005,0002,277,376
12Apr 1, 2024 13:575,65742,125,67316,091,0002,011,0002,289,664
13Apr 1, 2024 14:005,65844,814,29815,088,0003,017,0002,281,472
14Apr 1, 2024 13:575,71250,261,46315,231,0003,046,0002,273,280
15Apr 1, 2024 14:005,74244,329,99917,353,0001,020,0002,289,664
16Apr 1, 2024 13:575,75438,001,20315,345,0003,069,0002,281,472
17Apr 1, 2024 13:575,77638,994,25917,457,0001,026,0002,273,280
18Apr 1, 2024 14:005,84742,966,32117,670,0001,039,0002,281,472
19Apr 1, 2024 14:005,908109,522,40118,906,09102,306,048
20Apr 1, 2024 14:005,91891,152,06118,939,03802,306,048
21Apr 1, 2024 13:575,93890,041,03719,002,14802,174,976
22Apr 1, 2024 14:005,94786,256,03419,031,23002,301,952
23Apr 1, 2024 13:575,95991,012,94619,069,81302,297,856
24Apr 1, 2024 13:576,01489,222,23919,245,78402,293,760