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 26, 2025 20:58Adam FolwarcznyAdam FolwarcznyScore: 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
1Apr 26, 2025 20:584,42433,536,77612,135,0002,022,0002,269,184
2Apr 26, 2025 20:584,44236,308,66512,183,0002,030,0002,449,408
3Apr 26, 2025 20:584,45831,820,10412,227,0002,037,0002,445,312
4Apr 26, 2025 20:584,46631,237,62913,271,0001,020,0002,441,216
5Apr 26, 2025 20:584,46833,768,76513,278,0001,021,0002,269,184
6Apr 26, 2025 20:584,46934,816,78413,280,0001,021,0002,531,328
7Apr 26, 2025 20:584,47927,808,37513,309,0001,023,0002,449,408
8Apr 26, 2025 20:584,48026,967,35013,312,0001,024,0002,527,232
9Apr 26, 2025 20:584,49132,595,85613,345,0001,026,0002,531,328