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 listJan 23, 2024 18:57AnSaAnSaScore: 5,278Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 18:575,27045,672,90416,865,00002,281,472
2Jan 23, 2024 18:575,27136,353,30115,875,000992,0002,281,472
3Jan 23, 2024 18:575,27141,389,49515,876,000992,0002,396,160
4Jan 23, 2024 18:575,27241,334,81516,869,00002,392,064
5Jan 23, 2024 18:575,27339,136,59615,881,000992,0002,396,160
6Jan 23, 2024 18:575,27642,766,75915,889,000993,0002,281,472
7Jan 23, 2024 18:575,27843,829,20016,888,00002,281,472
8Jan 23, 2024 18:575,27945,797,12615,900,000993,0002,281,472
9Jan 23, 2024 18:575,28142,916,39615,905,000994,0002,387,968
10Jan 23, 2024 18:575,41082,781,56117,313,00702,281,472
11Jan 23, 2024 18:575,42581,720,41717,361,26202,281,472
12Jan 23, 2024 18:575,45782,499,34017,461,60202,289,664