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:26Robert BurkeRobert BurkeScore: 4,426Success
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:264,39425,942,68712,053,0002,008,0002,449,408
2Apr 18, 2024 19:264,39833,038,38612,064,0002,010,0002,281,472
3Apr 18, 2024 19:264,40429,282,39312,079,0002,013,0002,449,408
4Apr 18, 2024 19:264,40527,638,91112,082,0002,013,0002,281,472
5Apr 18, 2024 19:264,41730,533,49412,115,0002,019,0002,281,472
6Apr 18, 2024 19:264,42526,791,37912,137,0002,022,0002,441,216
7Apr 18, 2024 19:264,42637,221,28912,139,0002,023,0002,281,472
8Apr 18, 2024 19:264,43430,079,03412,162,0002,027,0002,281,472
9Apr 18, 2024 19:264,43825,947,02312,174,0002,029,0002,535,424
10Apr 18, 2024 19:264,67168,467,13814,946,86902,211,840
11Apr 18, 2024 19:264,69392,418,40115,016,05002,207,744
12Apr 18, 2024 19:264,70383,679,78615,050,59102,199,552