Compile Error
/in/main.c: In function 'mian': /in/main.c:52:17: error: format '%d' expects argument of type 'int *', but argument 2 has type 'char *' [-Werror=format=] scanf("%d %d", country[i].name ,&country[i].rank); //输入第i+1个国家的名字和名次 ^ cc1: all warnings being treated as errors
Information
- Submit By
- Type
- Submission
- Homework
- Lab 5
- Language
- C
- Submit At
- 2018-06-26 11:40:00
- Judged At
- 2018-06-26 11:40:00
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 0 Bytes