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 2ms 256.0 KiB
#2 Accepted Detail 1ms 276.0 KiB
#3 Accepted Detail 3ms 256.0 KiB
#4 Accepted Detail 2ms 256.0 KiB
#5 Accepted Detail 2ms 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 16:27:46
Judged By
Score
50
Total Time
12ms
Peak Memory
276.0 KiB