Pagini recente » Borderou de evaluare (job #3260431) | PermSplit | Borderou de evaluare (job #67986) | Borderou de evaluare (job #523957) | Borderou de evaluare (job #2192736)
Borderou de evaluare (job #2192736)
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 |
| 1 | 0ms | 1284kb | OK | 10 |
| 2 | 0ms | 1288kb | OK | 10 |
| 3 | 0ms | 1288kb | OK | 10 |
| 4 | 16ms | 1604kb | OK | 10 |
| 5 | 32ms | 2000kb | OK | 10 |
| 6 | 168ms | 5204kb | OK | 10 |
| 7 | 500ms | 11280kb | OK | 10 |
| 8 | 412ms | 14468kb | OK | 10 |
| 9 | Depăşit | 22420kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 22436kb | Time limit exceeded. | 0 |
| Punctaj total | 80 |