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 listApr 24, 2025 21:43lukostlukostScore: 5,127Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 21:435,09344,571,16815,280,0001,018,0002,441,216
2Apr 24, 2025 21:435,10738,135,24015,322,0001,021,0002,277,376
3Apr 24, 2025 21:435,10740,074,71915,322,0001,021,0002,445,312
4Apr 24, 2025 21:435,10941,414,03915,327,0001,021,0002,277,376
5Apr 24, 2025 21:305,11235,720,34415,337,0001,022,0002,539,520
6Apr 24, 2025 21:305,11236,317,77615,335,0001,022,0002,277,376
7Apr 24, 2025 21:305,11329,685,60815,340,0001,022,0002,539,520
8Apr 24, 2025 21:305,11832,327,48415,355,0001,023,0002,449,408
9Apr 24, 2025 21:305,12028,529,33615,361,0001,024,0002,277,376
10Apr 24, 2025 21:305,12744,477,95115,380,0001,025,0002,535,424
11Apr 24, 2025 21:435,13136,021,34615,392,0001,026,0002,539,520
12Apr 24, 2025 21:435,13342,106,10815,401,0001,026,0002,449,408
13Apr 24, 2025 21:435,13437,585,76315,403,0001,026,0002,539,520
14Apr 24, 2025 21:305,13643,236,12315,407,0001,027,0002,539,520
15Apr 24, 2025 21:305,14043,038,70815,420,0001,028,0002,437,120
16Apr 24, 2025 21:435,14337,290,35615,430,0001,028,0002,449,408
17Apr 24, 2025 21:305,14542,853,43115,435,0001,029,0002,445,312
18Apr 24, 2025 21:435,15436,180,58415,462,0001,030,0002,453,504