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 listJul 19, 2025 21:37Valentin KofmanValentin KofmanScore: 4,471Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 16, 2025 20:354,43033,848,50513,164,0001,012,0002,387,968
2Jul 16, 2025 20:354,43030,284,72112,151,0002,025,0002,408,448
3Jul 16, 2025 20:354,43337,380,98713,174,0001,013,0002,273,280
4Jul 16, 2025 20:354,45234,852,12912,212,0002,035,0002,392,064
5Jul 16, 2025 20:354,45838,751,94112,229,0002,038,0002,273,280
6Jul 16, 2025 20:354,45832,650,27012,229,0002,038,0002,273,280
7Jul 16, 2025 20:354,46331,469,18613,260,0001,020,0002,404,352
8Jul 16, 2025 20:354,47134,851,64113,286,0001,022,0002,273,280
9Jul 16, 2025 20:354,47329,300,12414,314,00002,273,280
10Jul 16, 2025 20:374,49734,299,78514,391,00002,273,280
11Jul 16, 2025 20:374,50331,040,61813,380,0001,029,0002,273,280
12Jul 16, 2025 20:374,52440,351,54414,477,00002,400,256
13Jul 19, 2025 21:374,75736,636,66913,194,0002,029,0002,400,256
14Jul 19, 2025 21:374,77331,978,76413,239,0002,036,0002,392,064
15Jul 19, 2025 21:374,79239,751,33215,335,00002,273,280