| Problem | fractions |
|---|---|
| User | rasquait |
| Submission Time | 2026-02-15 16:58:01 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
fractions.cpp: In function ‘int main()’:
fractions.cpp:10:20: error: wrong number of template arguments (1, should be 2)
10 | array<array<int, 3>> arr[200000];
| ^~
In file included from /usr/include/c++/9/tuple:39,
from /usr/include/c++/9/functional:54,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,
from fractions.cpp:2:
/usr/include/c++/9/array:94:12: note: provided for ‘template<class _Tp, long unsigned int _Nm> struct std::array’
94 | struct array
| ^~~~~
fractions.cpp:12:18: error: invalid types ‘int[int]’ for array subscript
12 | cin >> arr[i][0] >> arr[i][1];
| ^
fractions.cpp:12:31: error: invalid types ‘int[int]’ for array subscript
12 | cin >> arr[i][0] >> arr[i][1];
|