Record Detail

Wrong Answer

/in/ex1_1.cpp: In function 'int main()':
/in/ex1_1.cpp:10:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf( "%d", &n );
     ~~~~~^~~~~~~~~~~~
/in/ex1_1.cpp:15:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     for ( i = 0; i < n; i++ ) scanf( "%d", &a[i] );
                               ~~~~~^~~~~~~~~~~~~~~
# Status Time Cost Memory Cost
#1 Accepted Detail 1ms 252.0 KiB
#2 Accepted Detail 1ms 264.0 KiB
#3 Accepted Detail 1ms 264.0 KiB
#4 Wrong Answer Detail 1ms 276.0 KiB
#5 Wrong Answer Detail 1ms 252.0 KiB

Information

Submit By
Type
Submission
Homework
Final Exam
Language
C++
Submit At
2020-08-07 17:49:03
Judged At
2020-08-09 16:20:50
Judged By
Score
30
Total Time
6ms
Peak Memory
276.0 KiB