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 24, 2022 12:27Robert BurkeRobert BurkeScore: 4,457Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2022 12:274,43132,779,07112,155,0002,025,0002,281,472
2Jul 24, 2022 12:274,43829,869,18612,172,0002,028,0002,449,408
3Jul 24, 2022 12:274,44834,025,34312,201,0002,033,0002,441,216
4Jul 24, 2022 12:274,45038,050,61512,206,0002,034,0002,281,472
5Jul 24, 2022 12:274,45233,743,55414,245,00002,445,312
6Jul 24, 2022 12:274,45329,932,93712,213,0002,035,0002,449,408
7Jul 24, 2022 12:274,45729,605,09413,244,0001,018,0002,281,472
8Jul 24, 2022 12:274,48330,256,01513,322,0001,024,0002,281,472
9Jul 24, 2022 12:274,48634,876,96713,331,0001,025,0002,449,408
10Jul 24, 2022 12:274,69093,556,40415,007,00202,215,936
11Jul 24, 2022 12:274,69983,069,95015,037,81402,211,840
12Jul 24, 2022 12:274,71685,270,50515,089,94802,199,552