Problem swords
User sussygoose
Submission Time 2025-11-09 18:14:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp: In function ‘int main()’:
swords.cpp:24:20: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _T1, class _T2> struct std::pair’
24 | arr[i] = pair<a,b>;
| ^
swords.cpp:24:20: note: expected a type, got ‘a’
swords.cpp:24:20: error: type/value mismatch at argument 2 in template parameter list for ‘template<class _T1, class _T2> struct std::pair’
swords.cpp:24:20: note: expected a type, got ‘b’