Record Detail

Compile Error

prepare (1/3): 
finished

make (2/3): 
g++ -g -Wall -O2 -o main.o -c main.cpp 
main.cpp: In function 'int main()':
main.cpp:70:24: error: 'INT_MAX' was not declared in this scope
         distance[ii] = INT_MAX;
                        ^~~~~~~
main.cpp:70:24: note: suggested alternative: 'INT8_MAX'
         distance[ii] = INT_MAX;
                        ^~~~~~~
                        INT8_MAX
main.cpp:42:9: warning: unused variable 'curtime' [-Wunused-variable]
     int curtime = 0;
         ^~~~~~~
main.cpp:142:9: warning: unused variable 'current' [-Wunused-variable]
     int current = v.second.ID;
         ^~~~~~~
Makefile:15: recipe for target 'main.o' failed
make: *** [main.o] Error 1

build failed

Information

Submit By
Type
Submission
Homework
Project Five: Graph Algorithms
Language
GNU Make
Submit At
2018-12-13 23:11:41
Judged At
2018-12-13 23:11:41
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes