Record Detail

Accepted

prepare (1/3): 
finished

make (2/3): 
g++ -g -Wall -O2 -std=c++11 -o main.o -c main.cpp 
main.cpp: In function 'int main(int, char**)':
main.cpp:70:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<nodes.size();++i)
                 ~^~~~~~~~~~~~~
g++ -g -Wall -O2 -std=c++11 -o args.o -c args.cpp 
args.cpp: In function 'bool dfs(node_type*)':
args.cpp:22:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0; i<node->edges.size(); ++i)
                  ~^~~~~~~~~~~~~~~~~~~
args.cpp: In function 'bool check_DAG(std::vector<node_type*>&)':
args.cpp:42:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0; i<nodes.size(); ++i)
                  ~^~~~~~~~~~~~~
args.cpp: In function 'int get_weight(std::vector<node_type*>&)':
args.cpp:115:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<nodes.size();++i)
                 ~^~~~~~~~~~~~~
args.cpp:144:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int i=0; i<v->edges.size(); ++i)
                      ~^~~~~~~~~~~~~~~~
g++ -g -Wall -O2 -std=c++11 -o main main.o args.o
finished

clean (3/3): 
finished

all task finished, build successfully
# Status Time Cost Memory Cost
#1 Accepted 3ms 448.0 KiB
#2 Accepted 1ms 448.0 KiB
#3 Accepted 2ms 512.0 KiB
#4 Accepted 1ms 488.0 KiB
#5 Accepted 2ms 384.0 KiB

Information

Submit By
Type
Submission
Homework
Project Five: Graph Algorithms
Language
GNU Make
Submit At
2018-12-13 22:44:44
Judged At
2018-12-13 22:44:44
Judged By
Score
25
Total Time
11ms
Peak Memory
512.0 KiB