Skip to main content
Tuesday (24.11.2026) at 20:00: ALGOR Contest: Round #4 (Special Challenge) starts!

~/algor $ cat duels/563

Duel #563

A 1v1 battle on the problem «Number of zero rows».

@sojida_otaqulova · Elo: 1253 (-17) · Pupil
No attempts
Tests: 0/20 (0%)
BATTLE OVER Winner: TiNcHLiK KeRaK Solved in 3 min 32 s
Pupil · Elo: 1257 (+17) · @boymatovbobur6
1st place · 3 min 32 s
Tests: 20/20 (100%)

Winner: TiNcHLiK KeRaK

The winner was the first to solve it correctly — in 3 min 32 s.

Matrix-09 Matrix Easy 1000 ms 64 MB

Number of zero rows

A matrix of size $n \times m$ is given. How many of its rows consist only of zeros ($0$)?

A matrix with the rows made entirely of zeros highlighted

Sample tests

Input #1
4 3
0 0 0
1 0 2
0 0 0
0 -5 0
Output #1
2
Input #2
2 2
1 2
3 4
Output #2
0

Battle results compared

1v1 report
Sojida Otaqulova
@sojida_otaqulova
Not solved
TiNcHLiK KeRaK
@boymatovbobur6
Winner (1st place)
— Solve time 03:32
0 Submissions 1
— Language C++ (GCC 15)
— Run time 3 ms

Submission timeline (1)

All submissions
T TiNcHLiK KeRaK +03:32
WIN Accepted
C++ (GCC 15) · 3 ms · 4 MB

TiNcHLiK KeRaK won

The 1v1 battle ended after a hard fight.

S Sojida Otaqulova
Solution: Not solved
Rating: 1253 (-17)
T TiNcHLiK KeRaK
Solution: 3 min 32 s
Rating: 1257 (+17)
RIVAL FOUND!

1v1 DUEL IS STARTING

Sojida Otaqulova 1270 Elo
VS 15 minutes
TiNcHLiK KeRaK 1257 Elo

Loading the arena...