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 listAug 1, 2024 21:33Egor SergeevEgor SergeevScore: 4,416Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 1, 2024 21:334,36844,714,81312,978,000998,0002,502,656
2Aug 18, 2024 23:444,36937,571,26612,983,000998,0002,494,464
3Aug 18, 2024 23:444,37235,175,20012,991,000999,0002,502,656
4Aug 18, 2024 23:444,37928,155,97113,013,0001,001,0002,498,560
5Aug 1, 2024 21:334,39231,384,75013,051,0001,003,0002,494,464
6Aug 18, 2024 23:444,39424,262,99513,057,0001,004,0002,490,368
7Aug 18, 2024 23:444,39934,899,80713,073,0001,005,0002,277,376
8Aug 1, 2024 21:334,40534,085,06913,090,0001,006,0002,277,376
9Aug 18, 2024 23:444,40626,603,64413,092,0001,007,0002,535,424
10Aug 1, 2024 21:334,40737,146,88213,094,0001,007,0002,277,376
11Aug 1, 2024 21:334,40734,728,10513,094,0001,007,0002,277,376
12Aug 1, 2024 21:334,41330,401,95913,115,0001,008,0002,502,656
13Aug 18, 2024 23:444,41641,170,65013,190,000942,0002,277,376
14Aug 1, 2024 21:334,41633,696,75413,121,0001,009,0002,498,560
15Aug 18, 2024 23:444,42438,422,76113,147,0001,011,0002,498,560
16Aug 18, 2024 23:444,42932,258,02913,162,0001,012,0002,535,424
17Aug 1, 2024 21:334,45430,775,35014,253,00002,277,376
18Aug 1, 2024 21:334,45731,432,81714,263,00002,277,376
19Aug 18, 2024 23:444,67956,077,32514,972,11502,256,896
20Aug 1, 2024 21:334,69253,911,64415,014,80802,248,704
21Aug 1, 2024 21:334,70049,516,33415,039,44002,256,896
22Aug 18, 2024 23:444,71277,563,07815,077,01602,236,416
23Aug 1, 2024 21:334,78485,187,83515,308,61602,240,512
24Aug 18, 2024 23:444,79969,620,89615,357,67702,256,896