Record Detail

Compile Error

/in/Compile/check.cpp:105:18: error: use of undeclared identifier 'count'
        boxes += count(row.begin(), row.end(), 'B');
                 ^
/in/Compile/check.cpp:106:20: error: use of undeclared identifier 'count'
        targets += count(row.begin(), row.end(), 'T');
                   ^
/in/Compile/check.cpp:157:13: error: no matching function for call to 'find'
        if (find(row.begin(), row.end(), 'B') != row.end()) {
            ^~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/streambuf_iterator.h:369:5: note: candidate template ignored: could not match 'istreambuf_iterator' against '__normal_iterator'
    find(istreambuf_iterator<_CharT> __first,
    ^
3 errors generated.
/in/Compile/Makefile:16: recipe for target 'main' failed
make: *** [main] Error 1

Information

Submit By
Type
Submission
Homework
Project3
Language
C++
Submit At
2024-11-24 22:41:57
Judged At
2024-11-24 22:41:57
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes