Borderou de evaluare (job #2192736)

Utilizator dariusdariusMarian Darius dariusdarius Data 6 aprilie 2018 23:37:28
Problema BFS - Parcurgere in latime Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In constructor ‘graph::BasicGraphEdgeArray::BasicGraphEdgeArray()’: user.cpp:34:9: warning: ‘graph::BasicGraphEdgeArray::capacity’ will be initialized after [-Wreorder] int capacity; ^~~~~~~~ user.cpp:32:22: warning: ‘graph::BasicGraphEdge** graph::BasicGraphEdgeArray::edges’ [-Wreorder] BasicGraphEdge** edges; ^~~~~ user.cpp:234:1: warning: when initialized here [-Wreorder] BasicGraphEdgeArray::BasicGraphEdgeArray(): size(0), capacity(4), edges(nullptr) { ^~~~~~~~~~~~~~~~~~~ user.cpp: In constructor ‘graph::BasicGraphNode::BasicGraphNode(graph::BasicGraph*, int)’: user.cpp:55:17: warning: ‘graph::BasicGraphNode::graph’ will be initialized after [-Wreorder] BasicGraph* graph; ^~~~~ user.cpp:54:9: warning: ‘int graph::BasicGraphNode::id’ [-Wreorder] int id; ^~ user.cpp:270:1: warning: when initialized here [-Wreorder] BasicGraphNode::BasicGraphNode(BasicGraph* graph, int id): graph(graph), id(id) { ^~~~~~~~~~~~~~ user.cpp: In constructor ‘graph::BasicGraph::BasicGraph()’: user.cpp:74:9: warning: ‘graph::BasicGraph::numNodes’ will be initialized after [-Wreorder] int numNodes; ^~~~~~~~ user.cpp:73:10: warning: ‘bool graph::BasicGraph::initialized’ [-Wreorder] bool initialized; ^~~~~~~~~~~ user.cpp:296:1: warning: when initialized here [-Wreorder] BasicGraph::BasicGraph(): numNodes(-1), initialized(false), nodes(nullptr) {} ^~~~~~~~~~ user.cpp: In constructor ‘graph::BasicGraph::BasicGraph(int)’: user.cpp:74:9: warning: ‘graph::BasicGraph::numNodes’ will be initialized after [-Wreorder] int numNodes; ^~~~~~~~ user.cpp:73:10: warning: ‘bool graph::BasicGraph::initialized’ [-Wreorder] bool initialized; ^~~~~~~~~~~ user.cpp:298:1: warning: when initialized here [-Wreorder] BasicGraph::BasicGraph(int numNodes): numNodes(numNodes), initialized(false), nodes(nullptr) { ^~~~~~~~~~ user.cpp: In member function ‘graph::BasicGraph& graph::BasicGraph::Init(int)’: user.cpp:330:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In member function ‘virtual graph::BasicDirectedGraph& graph::BasicDirectedGraph::AddEdge(const int&, const int&)’: user.cpp:384:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:593:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1284kbOK10
20ms1288kbOK10
30ms1288kbOK10
416ms1604kbOK10
532ms2000kbOK10
6168ms5204kbOK10
7500ms11280kbOK10
8412ms14468kbOK10
9Depăşit22420kbTime limit exceeded.0
10Depăşit22436kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?