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:01Joad NacerJoad NacerScore: 4,449Success
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:014,42629,344,68712,141,0002,023,0002,428,928
2Nov 29, 2024 18:014,43734,994,89712,169,0002,028,0002,420,736
3Nov 29, 2024 18:014,43933,956,82313,192,0001,014,0002,531,328
4Nov 29, 2024 18:014,44333,621,36312,187,0002,031,0002,269,184
5Nov 29, 2024 18:014,44432,047,72513,205,0001,015,0002,531,328
6Nov 29, 2024 18:014,44429,966,38013,207,0001,015,0002,510,848
7Nov 29, 2024 18:014,44429,608,94212,190,0002,031,0002,437,120
8Nov 29, 2024 18:014,44929,644,09613,220,0001,016,0002,269,184
9Nov 29, 2024 18:014,45329,846,65113,233,0001,017,0002,428,928
10Nov 29, 2024 18:024,45734,832,69412,225,0002,037,0002,433,024
11Nov 29, 2024 18:024,46435,201,28213,265,0001,020,0002,437,120
12Nov 29, 2024 18:024,46427,446,91712,245,0002,040,0002,433,024
13Nov 29, 2024 18:014,46825,762,73514,297,00002,531,328
14Nov 29, 2024 18:014,47030,478,94113,283,0001,021,0002,531,328
15Nov 29, 2024 18:014,57643,329,43614,643,00002,531,328