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 listJul 26, 2024 20:42Yuriy LyfenkoYuriy LyfenkoScore: 4,388Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 26, 2024 20:424,369531,216,21811,983,0001,997,0002,535,424
2Jul 26, 2024 20:424,370546,239,59711,987,0001,997,0002,535,424
3Jul 26, 2024 20:424,371537,178,81611,990,0001,998,0002,273,280
4Jul 26, 2024 20:424,376537,600,37912,004,0002,000,0002,285,568
5Jul 26, 2024 20:424,385538,504,24412,027,0002,004,0002,449,408
6Jul 26, 2024 20:424,385535,287,59512,028,0002,004,0002,285,568
7Jul 26, 2024 20:424,388535,242,71012,035,0002,005,0002,535,424
8Jul 26, 2024 20:424,392531,612,41112,047,0002,007,0002,273,280
9Jul 26, 2024 20:424,394538,391,25613,056,0001,004,0002,535,424
10Jul 26, 2024 20:424,575567,311,34314,638,66602,191,360
11Jul 26, 2024 20:424,576563,131,99414,644,33202,252,800
12Jul 26, 2024 20:424,616584,141,37214,771,59102,322,432