Record Detail

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);
     ~~~~~^~~~~~~~~~~~
# Status Time Cost Memory Cost
#1 Accepted Detail 1ms 252.0 KiB
#2 Accepted Detail 1ms 256.0 KiB
#3 Accepted Detail 1ms 404.0 KiB
#4 Accepted Detail 1ms 320.0 KiB
#5 Accepted Detail 1ms 256.0 KiB

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