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 Accepted 1ms 396.0 KiB
#2 Runtime Error 2ms 460.0 KiB
#3 Runtime Error 1ms 440.0 KiB
#4 Runtime Error 2ms 464.0 KiB
#5 Runtime Error 2ms 420.0 KiB
#6 Accepted 2ms 452.0 KiB
#7 Runtime Error 2ms 476.0 KiB
#8 Runtime Error 1ms 420.0 KiB
#9 Runtime Error 2ms 452.0 KiB
#10 Runtime Error 1ms 452.0 KiB
#11 Runtime Error 1ms 388.0 KiB
#12 Runtime Error 1ms 504.0 KiB
#13 Runtime Error 2ms 420.0 KiB
#14 Runtime Error 1ms 448.0 KiB
#15 Runtime Error 1ms 336.0 KiB
#16 Runtime Error 1ms 456.0 KiB
#17 Runtime Error 2ms 456.0 KiB
#18 Runtime Error 1ms 456.0 KiB
#19 Runtime Error 1ms 420.0 KiB
#20 Runtime Error 1ms 460.0 KiB
#21 Runtime Error 2ms 416.0 KiB
#22 Runtime Error 2ms 468.0 KiB
#23 Runtime Error 2ms 456.0 KiB
#24 Runtime Error 1ms 404.0 KiB
#25 Runtime Error 2ms 412.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-21 01:21:06
Judged By
Score
20
Total Time
49ms
Peak Memory
504.0 KiB