Pagini recente » Borderou de evaluare (job #1295120) | Borderou de evaluare (job #2430887) | Borderou de evaluare (job #2588158) | Borderou de evaluare (job #1792257) | Borderou de evaluare (job #1335435)
Borderou de evaluare (job #1335435)
Raport evaluator
Compilare:
user.cpp: In constructor ‘node::node(int, int, int, node*, node*)’:
user.cpp:22:9: warning: ‘node::leftBound’ will be initialized after [-Wreorder]
int leftBound;
^
user.cpp:21:9: warning: ‘int node::rightBound’ [-Wreorder]
int rightBound;
^
user.cpp:27:5: warning: when initialized here [-Wreorder]
node (int max, int leftBound, int rightBound, node* leftSon, node* rightSon):
^
user.cpp: In member function ‘void heavyPath::build()’:
user.cpp:121:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < path.size (); ++i)
^
user.cpp: In function ‘void buildPaths(int)’:
user.cpp:159:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < graph[vertex].size (); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:202:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("heavypath.in", "r", stdin);
^
user.cpp:203:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("heavypath.out", "w", stdout);
^
user.cpp:207:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &n, &m);
^
user.cpp:209:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &value[i]);
^
user.cpp:212:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &x, &y);
^
user.cpp:225:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d%d", &type, &x, &y);
^
user.cpp: In function ‘void buildPaths(int)’:
user.cpp:176:21: warning: ‘bestSon’ may be used uninitialized in this function [-Wmaybe-uninitialized]
path[bestSon]->addVertex (vertex);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 1472kb | OK | 5 | 10 |
| 2 | 0ms | 1472kb | OK | 5 |
| 3 | 8ms | 1576kb | OK | 5 | 10 |
| 4 | 16ms | 1676kb | OK | 5 |
| 5 | 184ms | 5636kb | OK | 5 | 20 |
| 6 | 148ms | 4264kb | OK | 5 |
| 7 | 184ms | 5256kb | OK | 5 |
| 8 | 148ms | 4260kb | OK | 5 |
| 9 | 304ms | 9776kb | OK | 5 | 20 |
| 10 | 228ms | 6996kb | OK | 5 |
| 11 | 312ms | 9012kb | OK | 5 |
| 12 | 228ms | 6996kb | OK | 5 |
| 13 | 388ms | 11224kb | OK | 5 | 20 |
| 14 | 316ms | 8844kb | OK | 5 |
| 15 | 384ms | 11928kb | OK | 5 |
| 16 | 320ms | 8848kb | OK | 5 |
| 17 | 436ms | 14008kb | OK | 5 | 20 |
| 18 | 360ms | 10680kb | OK | 5 |
| 19 | 436ms | 13628kb | OK | 5 |
| 20 | 360ms | 10688kb | OK | 5 |
| Punctaj total | 100 |