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 listApr 18, 2024 19:22Robert BurkeRobert BurkeScore: 4,424Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 19:224,39334,767,00012,051,0002,008,0002,441,216
2Apr 18, 2024 19:224,39837,690,78312,065,0002,010,0002,281,472
3Apr 18, 2024 19:224,41939,314,36912,121,0002,020,0002,449,408
4Apr 18, 2024 19:224,42035,454,06912,123,0002,020,0002,281,472
5Apr 18, 2024 19:224,42029,588,13312,124,0002,020,0002,281,472
6Apr 18, 2024 19:224,42433,760,96212,134,0002,022,0002,281,472
7Apr 18, 2024 19:224,42426,933,61512,136,0002,022,0002,281,472
8Apr 18, 2024 19:224,42634,053,89712,139,0002,023,0002,535,424
9Apr 18, 2024 19:224,49030,089,11413,342,0001,026,0002,449,408
10Apr 18, 2024 19:224,69587,255,48415,024,97602,207,744
11Apr 18, 2024 19:224,70667,009,50415,058,36802,330,624
12Apr 18, 2024 19:224,71158,076,80515,076,31702,207,744