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 listJul 22, 2022 23:35Robert BurkeRobert BurkeScore: 4,649Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 23:354,57437,608,60913,591,0001,045,0002,441,216
2Jul 22, 2022 23:354,58731,724,40213,630,0001,048,0002,281,472
3Jul 22, 2022 23:354,58840,630,40013,634,0001,048,0002,277,376
4Jul 22, 2022 23:354,59131,982,08413,641,0001,049,0002,445,312
5Jul 22, 2022 23:354,59342,875,95413,649,0001,049,0002,281,472
6Jul 22, 2022 23:354,64830,916,84312,892,0001,983,0002,281,472
7Jul 22, 2022 23:354,64934,753,27112,893,0001,983,0002,281,472
8Jul 22, 2022 23:354,64932,832,08012,895,0001,983,0002,445,312
9Jul 22, 2022 23:354,65136,271,55512,898,0001,984,0002,445,312
10Jul 22, 2022 23:354,82458,558,31315,437,56102,195,456
11Jul 22, 2022 23:354,83079,296,09515,456,22302,207,744
12Jul 22, 2022 23:354,83482,552,70815,468,64502,203,648