Accepted
/in/ex1_2.cpp: In function 'int main()': /in/ex1_2.cpp:9:21: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[100]' [-Wformat=] scanf("%s", &str); ~~~~^ /in/ex1_2.cpp:9:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &str); ~~~~~^~~~~~~~~~~~
Information
- Submit By
- Type
- Submission
- Homework
- Final Exam
- Language
- C++
- Submit At
- 2020-08-07 16:49:39
- Judged At
- 2020-08-09 18:19:15
- Judged By
- Score
- 50
- Total Time
- 7ms
- Peak Memory
- 404.0 KiB