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 listNov 11, 2024 10:28E SequeiraE SequeiraScore: 6,065Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 11, 2024 10:285,94944,414,33317,033,0002,003,0002,285,568
2Nov 11, 2024 10:285,95346,695,52818,049,0001,002,0002,273,280
3Nov 11, 2024 10:285,98447,083,72417,135,0002,015,0002,265,088
4Nov 11, 2024 10:286,00746,747,70817,200,0002,023,0002,273,280
5Nov 11, 2024 10:286,06548,041,91017,365,0002,042,0002,289,664
6Nov 11, 2024 10:286,13151,338,61817,658,0001,962,0002,289,664
7Nov 11, 2024 10:286,16143,954,98819,715,00002,281,472
8Nov 11, 2024 10:286,23764,448,10918,960,000997,0002,281,472
9Nov 11, 2024 10:286,39156,092,43117,383,0003,067,0002,531,328