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:27Robert BurkeRobert BurkeScore: 4,422Success
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:274,40430,018,68112,079,0002,013,0002,453,504
2Apr 18, 2024 19:274,41230,233,92712,101,0002,016,0002,281,472
3Apr 18, 2024 19:274,41437,953,89012,107,0002,017,0002,281,472
4Apr 18, 2024 19:274,41429,489,64112,107,0002,017,0002,445,312
5Apr 18, 2024 19:274,41731,967,33612,115,0002,019,0002,281,472
6Apr 18, 2024 19:274,41928,597,00612,120,0002,020,0002,527,232
7Apr 18, 2024 19:274,42232,990,99712,128,0002,021,0002,281,472
8Apr 18, 2024 19:274,42337,997,58712,131,0002,021,0002,281,472
9Apr 18, 2024 19:274,42531,316,21012,138,0002,023,0002,281,472
10Apr 18, 2024 19:274,68968,376,06015,005,78302,203,648
11Apr 18, 2024 19:274,72382,714,03115,114,44802,203,648
12Apr 18, 2024 19:274,75269,767,54015,207,00902,203,648