Užduotys

Taškai: 0

Compile: FAIL

uzduotys.cpp: In function ‘std::pair<long long int, long long int> solveSlow(long long int, long long int, long long int, std::vector<long long int>)’: uzduotys.cpp:165:18: error: expected primary-expression before ‘long’ pii ans = {-1, -long long_MAX}; ^ uzduotys.cpp:165:18: error: expected ‘}’ before ‘long’ uzduotys.cpp:165:18: error: could not convert ‘{-1, <expression error>}’ from ‘<brace-enclosed initializer list>’ to ‘std::pair<long long int, long long int>’ uzduotys.cpp:165:18: error: expected ‘,’ or ‘;’ before ‘long’ uzduotys.cpp: At global scope: uzduotys.cpp:167:2: error: expected unqualified-id before ‘for’ for(long long d : inp){ ^

nr.resulttimemessage