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 31, 2024 08:08AnSaAnSaScore: 4,699Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 31, 2024 08:08531,013,77211,0204,0072,527,232
2Aug 31, 2024 08:08548,456,79914,9329952,527,232
3Aug 31, 2024 08:08528,368,28211,0224,0082,527,232
4Aug 31, 2024 08:084,66633,084,35612,941,0001,991,0002,269,184
5Jun 30, 2024 13:284,67630,645,70813,967,000997,0002,269,184
6Aug 31, 2024 08:084,67944,445,71813,976,000998,0002,494,464
7Jun 30, 2024 13:284,68141,614,96312,983,0001,997,0002,494,464
8Aug 31, 2024 08:084,68848,724,51114,002,0001,000,0002,527,232
9Jun 30, 2024 13:284,69131,581,95012,010,0003,002,0002,531,328
10Aug 31, 2024 08:084,69136,568,78214,011,0001,000,0002,531,328
11Jun 30, 2024 13:284,69231,540,07313,012,0002,001,0002,531,328
12Jun 30, 2024 13:284,69232,862,43613,012,0002,001,0002,531,328
13Jun 30, 2024 13:284,69334,028,28512,015,0003,003,0002,269,184
14Aug 31, 2024 08:084,69635,450,75113,023,0002,003,0002,527,232
15Jun 30, 2024 13:284,69731,196,67714,028,0001,002,0002,531,328
16Aug 31, 2024 08:084,69930,381,94714,035,0001,002,0002,527,232
17Aug 31, 2024 08:084,69936,281,77814,036,0001,002,0002,269,184
18Aug 31, 2024 08:084,69940,174,28212,030,0003,007,0002,527,232
19Aug 31, 2024 08:084,70030,370,02214,038,0001,002,0002,490,368
20Aug 31, 2024 08:084,70232,029,01114,042,0001,003,0002,265,088
21Aug 31, 2024 08:084,70930,962,58414,064,0001,004,0002,531,328
22Aug 31, 2024 08:084,71440,124,48814,080,0001,005,0002,531,328
23Jun 30, 2024 13:284,71434,592,84714,081,0001,005,0002,531,328
24Aug 31, 2024 08:084,71535,664,06912,071,0003,017,0002,498,560
25Jun 30, 2024 13:284,71629,845,92813,078,0002,012,0002,531,328
26Aug 31, 2024 08:084,71835,590,33514,092,0001,006,0002,498,560
27Aug 31, 2024 08:084,72629,939,92014,114,0001,008,0002,269,184
28Jun 30, 2024 13:284,91170,497,31815,714,49102,244,608
29Jun 30, 2024 13:284,92676,407,27315,764,13302,248,704
30Jun 30, 2024 13:284,97298,812,98115,911,43902,248,704