Compile Error
/in/ex3.cpp: In function 'int main(int, char**)': /in/ex3.cpp:42:20: error: suggest explicit braces to avoid ambiguous 'else' [-Werror=dangling-else] else if(tmp==1)for(char j='A';j<='Z';j++)if(toposition(upper_change(j))==cnt)cout<<j; ^ cc1plus: all warnings being treated as errors /in/compile/Makefile:20: recipe for target 'ex3.o' failed make: *** [ex3.o] Error 1
Information
- Submit By
- Type
- Submission
- Homework
- Exercise 3
- Language
- C++
- Submit At
- 2024-11-03 13:49:51
- Judged At
- 2024-11-03 13:49:51
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 0 Bytes