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 listJan 17, 2024 21:03pavelsonkinpavelsonkinScore: 5,769Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 17, 2024 21:035,72640,120,22416,288,0002,036,0002,289,664
2Jan 17, 2024 21:035,73045,300,33317,318,0001,018,0002,527,232
3Jan 17, 2024 21:035,74333,202,75916,337,0002,042,0002,289,664
4Jan 17, 2024 21:035,75335,119,15417,389,0001,022,0002,289,664
5Jan 17, 2024 21:035,76039,597,84917,408,0001,024,0002,277,376
6Jan 17, 2024 21:035,76242,890,14718,439,00002,289,664
7Jan 17, 2024 21:035,76944,066,59218,462,00002,265,088
8Jan 17, 2024 21:035,80441,790,16318,572,00002,273,280
9Jan 17, 2024 21:035,80851,499,26917,555,0001,032,0002,289,664
10Jan 17, 2024 21:036,08292,763,93919,463,20902,297,856
11Jan 17, 2024 21:036,09490,069,03619,499,68402,174,976
12Jan 17, 2024 21:036,14388,828,12519,658,31602,174,976