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:20Robert BurkeRobert BurkeScore: 4,416Success
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:204,39333,691,26012,049,0002,008,0002,445,312
2Apr 18, 2024 19:204,40627,360,50212,084,0002,014,0002,281,472
3Apr 18, 2024 19:204,41329,234,05012,106,0002,017,0002,445,312
4Apr 18, 2024 19:204,41432,999,55412,107,0002,017,0002,445,312
5Apr 18, 2024 19:204,41431,937,23112,108,0002,018,0002,281,472
6Apr 18, 2024 19:204,41632,038,21412,112,0002,018,0002,281,472
7Apr 18, 2024 19:204,41632,903,97512,112,0002,018,0002,449,408
8Apr 18, 2024 19:204,42832,300,99812,147,0002,024,0002,277,376
9Apr 18, 2024 19:204,47233,805,81913,289,0001,022,0002,281,472
10Apr 18, 2024 19:204,69481,950,67415,021,37402,211,840
11Apr 18, 2024 19:204,70194,390,05615,044,77702,207,744
12Apr 18, 2024 19:204,71177,462,01415,073,69502,191,360