Record Detail

Runtime Error

/in/p2.cpp: In function 'opaque_list* insert_list(list_t, list_t, unsigned int)':
/in/p2.cpp:134:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if ( list_first(first) == n ) { return append( second, list_rest(first) ); }
          ~~~~~~~~~~~~~~~~~~^~~~
/in/p2.cpp: In function 'opaque_list* chop(list_t, unsigned int)':
/in/p2.cpp:145:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if ( size(list_rest(list)) == n ) {return list_make(); }
          ~~~~~~~~~~~~~~~~~~~~~~^~~~
# Status Time Cost Memory Cost
#1 Runtime Error 2ms 468.0 KiB
#2 Runtime Error 1ms 452.0 KiB
#3 Runtime Error 2ms 460.0 KiB
#4 Runtime Error 1ms 376.0 KiB
#5 Runtime Error 2ms 424.0 KiB
#6 Runtime Error 1ms 456.0 KiB
#7 Runtime Error 1ms 456.0 KiB
#8 Runtime Error 2ms 504.0 KiB
#9 Runtime Error 2ms 420.0 KiB
#10 Runtime Error 2ms 440.0 KiB
#11 Runtime Error 2ms 452.0 KiB
#12 Runtime Error 1ms 400.0 KiB
#13 Runtime Error 2ms 456.0 KiB
#14 Runtime Error 1ms 492.0 KiB
#15 Runtime Error 2ms 404.0 KiB
#16 Runtime Error 1ms 408.0 KiB
#17 Accepted 2ms 328.0 KiB
#18 Runtime Error 2ms 376.0 KiB
#19 Runtime Error 1ms 424.0 KiB
#20 Runtime Error 2ms 412.0 KiB
#21 Runtime Error 2ms 500.0 KiB
#22 Runtime Error 1ms 332.0 KiB
#23 Runtime Error 2ms 412.0 KiB
#24 Runtime Error 2ms 452.0 KiB
#25 Runtime Error 1ms 448.0 KiB
#26 Accepted 1ms 316.0 KiB
#27 Accepted 1ms 316.0 KiB
#28 Accepted 1ms 396.0 KiB
#29 Accepted 1ms 464.0 KiB

Information

Submit By
Type
Submission
Homework
Project Two: Recursion
Language
C++
Submit At
2018-06-12 13:54:48
Judged At
2018-06-24 03:59:11
Judged By
Score
50
Total Time
57ms
Peak Memory
504.0 KiB