programme.lv logo
  1. Iesūtījumi
Datums & laiksAutorsUzdevumsValodaRezultātsCPU laiks [s]Atmiņa [MiB]StatussIesūtījums
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
programme.lv logo
  1. Iesūtījumi
  2. /
  3. 6ed64571-771e-49f6-9241-79f39c647b40
AutorsMOPS
UzdevumsFleksis
ValodaC++17
Iesūtīts27.01.2026. 20:25:03
StatussNovērtēts
Rezultāts0 / 100
Risinājuma kods ir redzams tikai tiem lietotājiem, kuri paši ir atrisinājuši šo uzdevumu.

Kompilācijas izvaddati:

solution.cpp:13:55: error: wrong number of template arguments (1, should be 2) 13 | int get_x(pair<pair<int, int> l1, pair<pair<int, int> l2){ | ^~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/algorithm:60, from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51, from solution.cpp:1: /usr/include/c++/14/bits/stl_pair.h:89:12: note: provided for 'template<class _T[...] 89 | struct pair; | ^~~~ solution.cpp:13:55: error: wrong number of template arguments (1, should be 2) 13 | int get_x(pair<pair<int, int> l1, pair<pair<int, int> l2){ | ^~ /usr/include/c++/14/bits/stl_pair.h:89:12: note: provided for 'template<class _T[...] 89 | struct pair; | ^~~~ solution.cpp:13:55: error: wrong number of template arguments (1, should be 2) 13 | int get_x(pair<pair<int, int> l1, pair<pair<int, int> l2){ | ^~ /usr/include/c++/14/bits/stl_pair.h:89:12: note: provided for 'template<class _T[...] 89 | struct pair; | ^~~~ solution.cpp:13:11: error: invalid template-id 13 | int get_x(pair<pair<int, int> l1, pair<pair<int, int> l2){ | ^~~~ solution.cpp:13:57: error: missing template arguments before ')' token 13 | int get_x(pair<pair<int, int> l1, pair<pair<int, int> l2){ | ^ solution.cpp:18:55: error: wrong number of template arguments (1, should be 2) 18 | int get_y(pair<pair<int, int> l1, pair<pair<int, int> l2){ | ^~ /usr/include/c++/14/bits/stl_pair.h:89:12: note: provided for 'template<class _T[...] 89 | struct pair; | ^~~~ solution.cpp:18:55: error: wrong number of template arguments (1, should be 2) 18 | int get_y(pair<pair<int, int> l1, pair<pair<int, int> l2){ | ^~ /usr/include/c++/14/bits/stl_pair.h:89:12: note: provided for 'template<class _T[...] 89 | struct pair; | ^~~~ [...]Kopēt kodu