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:31Egor SergeevEgor SergeevScore: 4,414Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 19:324,37331,359,64412,996,000999,0002,498,560
2Aug 1, 2024 21:314,37530,613,32513,001,0001,000,0002,502,656
3Jul 28, 2024 19:324,38833,998,03713,038,0001,002,0002,277,376
4Jul 28, 2024 19:324,38928,808,78413,043,0001,003,0002,273,280
5Aug 1, 2024 21:314,39026,265,01613,045,0001,003,0002,277,376
6Jul 28, 2024 19:324,39631,357,93813,063,0001,004,0002,502,656
7Aug 1, 2024 21:314,39630,627,68313,064,0001,004,0002,498,560
8Jul 28, 2024 19:324,39830,059,63013,068,0001,005,0002,502,656
9Aug 1, 2024 21:314,40327,570,45513,082,0001,006,0002,498,560
10Aug 1, 2024 21:314,40427,244,72413,086,0001,006,0002,498,560
11Jul 28, 2024 19:324,40428,969,05713,088,0001,006,0002,498,560
12Aug 1, 2024 21:314,41334,927,44213,115,0001,008,0002,498,560
13Aug 1, 2024 21:314,41425,824,14213,117,0001,009,0002,277,376
14Jul 28, 2024 19:324,41933,590,66313,132,0001,010,0002,498,560
15Jul 28, 2024 19:324,42931,100,14613,161,0001,012,0002,535,424
16Aug 1, 2024 21:314,43430,777,21513,175,0001,013,0002,277,376
17Aug 1, 2024 21:314,43430,201,95513,175,0001,013,0002,502,656
18Jul 28, 2024 19:324,45831,998,59114,265,00002,494,464
19Jul 28, 2024 19:324,67565,966,56414,959,64902,236,416
20Jul 28, 2024 19:324,70877,702,86015,066,93802,240,512
21Aug 1, 2024 21:314,71169,934,09115,075,93702,236,416
22Aug 1, 2024 21:314,73580,092,10615,153,47802,260,992
23Aug 1, 2024 21:314,73873,822,50215,161,94302,248,704
24Jul 28, 2024 19:324,74373,459,72615,176,04802,260,992