Problem contestcalc
User Red123
Submission Time 2026-02-16 22:20:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

contestcalc.cpp: In function β€˜int main()’:
contestcalc.cpp:24:33: error: no match for call to β€˜(std::__cxx11::basic_string<char>) ()’
24 | if(arr[i] == turtle[j].first()){
| ^
contestcalc.cpp:25:31: error: expression cannot be used as a function
25 | total += turtle[j].second();
| ^