Compile Error
/in/main.c:11:1: error: useless storage class specifier in empty declaration [-Werror] }; ^ /in/main.c:17:1: error: return type defaults to 'int' [-Werror=implicit-int] srand(int t)%1 ^~~~~ /in/main.c: In function 'srand': /in/main.c:17:13: error: expected declaration specifiers before '%' token srand(int t)%1 ^ /in/main.c:19:1: error: control reaches end of non-void function [-Werror=return-type] scanf("%c%c%c*%c%d",&country,&rank) ^~~~~ cc1: all warnings being treated as errors
Information
- Submit By
- Type
- Submission
- Homework
- Lab 5
- Language
- C
- Submit At
- 2018-06-27 12:41:50
- Judged At
- 2018-06-27 12:41:50
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 0 Bytes