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:39Robert BurkeRobert BurkeScore: 4,645Success
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:394,57332,218,24613,589,0001,045,0002,457,600
2Jul 22, 2022 23:394,58133,557,89013,611,0001,047,0002,445,312
3Jul 22, 2022 23:394,58331,762,97013,620,0001,047,0002,281,472
4Jul 22, 2022 23:394,58530,068,94413,625,0001,048,0002,281,472
5Jul 22, 2022 23:394,58835,552,59913,632,0001,048,0002,277,376
6Jul 22, 2022 23:394,58832,067,84813,634,0001,048,0002,281,472
7Jul 22, 2022 23:394,64530,620,99613,874,000991,0002,445,312
8Jul 22, 2022 23:394,65033,857,68113,888,000992,0002,445,312
9Jul 22, 2022 23:394,65140,895,50212,899,0001,984,0002,453,504
10Jul 22, 2022 23:394,83390,478,49115,464,11602,199,552
11Jul 22, 2022 23:394,84672,690,47715,506,13202,203,648
12Jul 22, 2022 23:394,874105,263,08515,598,18002,199,552