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 listDec 21, 2025 22:54Ahmed MhedhbiAhmed MhedhbiScore: 4,397Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2025 23:024,38527,540,10012,028,0002,004,0002,269,184
2Dec 21, 2025 23:024,38529,458,42012,027,0002,004,0002,531,328
3Dec 21, 2025 22:544,38942,016,59412,039,0002,006,0002,437,120
4Dec 21, 2025 23:024,38938,542,28212,039,0002,006,0002,445,312
5Dec 21, 2025 22:544,39127,221,09013,048,0001,003,0002,445,312
6Dec 21, 2025 23:024,39133,567,48412,044,0002,007,0002,531,328
7Dec 21, 2025 22:544,39330,654,36812,048,0002,008,0002,445,312
8Dec 21, 2025 22:544,39533,748,88212,054,0002,009,0002,531,328
9Dec 21, 2025 23:024,39735,119,02812,060,0002,010,0002,531,328
10Dec 21, 2025 23:024,39730,067,92112,060,0002,010,0002,531,328
11Dec 21, 2025 23:024,40031,325,52212,068,0002,011,0002,437,120
12Dec 21, 2025 22:544,40436,322,84912,079,0002,013,0002,531,328
13Dec 21, 2025 23:024,40835,444,67212,091,0002,015,0002,269,184
14Dec 21, 2025 22:544,41134,854,25712,099,0002,016,0002,531,328
15Dec 21, 2025 22:544,41229,123,93112,101,0002,016,0002,445,312
16Dec 21, 2025 22:544,41331,089,50112,105,0002,017,0002,531,328
17Dec 21, 2025 22:544,41833,948,81612,118,0002,019,0002,441,216
18Dec 21, 2025 23:024,53337,120,07713,470,0001,036,0002,269,184