Create XOR MATRIX
Offen
algorithms
bitmasking
C
CPP
good first issue
hacktoberfest
Hacktoberfest2020
- Vorherrschende Sprache
- C++
- Sterne
- 504
- Forks
- 436
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
You are given a matrix A of size nxm. Find any suitable integer sequence C of size n such that A[1][c[1]]^A[2][c[2]]^….^A[n][c[n]] is greater than 0. Output Format : IF there is no solution , just print “NIE” , otherwise first print “TAK” and then print configuration.
Input Format
Given a matrix of A of size (n X m)
Constraints
n, m<=500, A[i][j]<1024
Output Format
If there is no solution , just print “NIE” , otherwise first print “TAK” and then print configuration.
Sample Input
3 2
0 0
0 0
0 0
Sample Output
NIE
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.