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 22, 2025 22:07hunaphuhunaphuScore: 4,468Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2025 22:064,43138,339,96112,155,0002,025,0002,273,280
2Dec 22, 2025 22:064,43330,660,45812,158,0002,026,0002,404,352
3Dec 22, 2025 22:064,43640,849,08312,168,0002,028,0002,273,280
4Dec 22, 2025 22:064,44033,429,63812,179,0002,029,0002,273,280
5Dec 22, 2025 22:064,44235,103,46613,199,0001,015,0002,273,280
6Dec 22, 2025 23:184,44434,601,61912,191,0002,031,0002,273,280
7Dec 22, 2025 23:184,45332,638,69012,213,0002,035,0002,404,352
8Dec 22, 2025 23:124,45735,816,96113,245,0001,018,0002,396,160
9Dec 22, 2025 23:184,45838,210,55612,228,0002,038,0002,273,280
10Dec 22, 2025 23:184,45929,867,33112,232,0002,038,0002,392,064
11Dec 22, 2025 23:124,46631,080,24814,292,00002,273,280
12Dec 22, 2025 22:064,46742,610,99714,295,00002,510,848
13Dec 22, 2025 23:184,46842,192,14613,277,0001,021,0002,273,280
14Dec 22, 2025 22:074,47135,851,33813,286,0001,022,0002,404,352
15Dec 22, 2025 23:184,47138,356,16113,286,0001,022,0002,273,280
16Dec 22, 2025 23:184,47131,670,07213,286,0001,022,0002,273,280
17Dec 22, 2025 22:074,47530,179,94014,319,00002,273,280
18Dec 22, 2025 23:124,47938,358,54614,333,00002,273,280
19Dec 22, 2025 23:184,48234,985,55913,317,0001,024,0002,404,352
20Dec 22, 2025 23:184,48434,444,30713,324,0001,024,0002,396,160
21Dec 22, 2025 22:074,49137,387,79313,345,0001,026,0002,273,280
22Dec 22, 2025 22:064,49841,462,26613,366,0001,028,0002,387,968
23Dec 22, 2025 22:064,50333,474,83613,380,0001,029,0002,273,280
24Dec 22, 2025 22:064,50431,648,66814,413,00002,408,448