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 29, 2024 18:18Joad NacerJoad NacerScore: 4,373Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2024 18:194,35029,061,75312,927,000994,0002,424,832
2Nov 29, 2024 18:194,35331,104,04513,929,00002,437,120
3Nov 29, 2024 18:194,36232,849,95912,962,000997,0002,531,328
4Nov 29, 2024 18:184,36731,134,48112,975,000998,0002,269,184
5Nov 29, 2024 18:194,37335,617,22912,994,000999,0002,433,024
6Nov 29, 2024 18:194,37436,804,48612,997,000999,0002,433,024
7Nov 29, 2024 18:194,39133,737,37712,044,0002,007,0002,428,928
8Nov 29, 2024 18:184,57633,950,96812,691,0001,952,0002,424,832
9Nov 29, 2024 18:184,92548,807,45314,711,0001,050,0002,428,928