Compile Error
/in/hw7.c: In function 'sortscores': /in/hw7.c:159:20: error: iteration 255 invokes undefined behavior [-Werror=aggressive-loop-optimizations] str3[x]='\0'; ~~~~~~~^~~~~ /in/hw7.c:156:9: note: within this loop for(int x=0;x<=255;x++) ^~~ /in/hw7.c:53:20: error: iteration 255 invokes undefined behavior [-Werror=aggressive-loop-optimizations] str3[x]='\0'; ~~~~~~~^~~~~ /in/hw7.c:51:9: note: within this loop for(int x=0;x<=255;x++) ^~~ cc1: all warnings being treated as errors
Information
- Submit By
- Type
- Submission
- Homework
- HW7 - Sort Score
- Language
- C
- Submit At
- 2022-11-23 19:30:23
- Judged At
- 2022-11-23 19:30:23
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 0 Bytes