Compile Error
/in/main.c: In function 'main': /in/main.c:16:19: error: format '%d' expects argument of type 'int *', but argument 4 has type 'int' [-Werror=format=] scanf("%d %d %d\n",&seed,&k,hehe); ^ /in/main.c:15:11: error: unused variable 'name' [-Werror=unused-variable] char* name; ^~~~ /in/main.c:16:5: error: 'hehe' is used uninitialized in this function [-Werror=uninitialized] scanf("%d %d %d\n",&seed,&k,hehe); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors
Information
- Submit By
- Type
- Submission
- Homework
- Lab 5
- Language
- C
- Submit At
- 2018-06-25 21:53:25
- Judged At
- 2018-06-25 21:53:25
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 0 Bytes