Record Detail

Wrong Answer

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:66: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:65:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<nodes.size();++i)
                 ~^~~~~~~~~~~~~
args.cpp:82: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 2ms 376.0 KiB
#2 Wrong Answer 2ms 412.0 KiB
#3 Wrong Answer 2ms 376.0 KiB
#4 Accepted 1ms 384.0 KiB
#5 Wrong Answer 1ms 384.0 KiB

Information

Submit By
Type
Submission
Homework
Project Five: Graph Algorithms
Language
GNU Make
Submit At
2018-12-13 18:39:34
Judged At
2018-12-13 18:39:34
Judged By
Score
10
Total Time
10ms
Peak Memory
412.0 KiB