Pagini recente » Borderou de evaluare (job #1477150) | Borderou de evaluare (job #1995132) | Borderou de evaluare (job #1237521) | Borderou de evaluare (job #887575) | Borderou de evaluare (job #1335915)
Borderou de evaluare (job #1335915)
Raport evaluator
Compilare:
user.cpp: In constructor ‘node::node(int, int, int, node*, node*)’:
user.cpp:21:9: warning: ‘node::leftBound’ will be initialized after [-Wreorder]
int leftBound;
^
user.cpp:20:9: warning: ‘int node::rightBound’ [-Wreorder]
int rightBound;
^
user.cpp:26:5: warning: when initialized here [-Wreorder]
node (int poz, int leftBound, int rightBound, node* leftSon, node* rightSon):
^
user.cpp: In function ‘void buildPaths(int)’:
user.cpp:163: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:208:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("confuzie.in", "r", stdin);
^
user.cpp:209:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("confuzie.out", "w", stdout);
^
user.cpp:213: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:216: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:229:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &type, &x);
^
user.cpp:234:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &y);
^
user.cpp: In function ‘void buildPaths(int)’:
user.cpp:180:21: warning: ‘bestSon’ may be used uninitialized in this function [-Wmaybe-uninitialized]
path[bestSon]->addVertex (vertex);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2652kb | OK | 10 |
2 | 16ms | 3196kb | OK | 10 |
3 | 32ms | 3712kb | OK | 10 |
4 | 32ms | 3708kb | OK | 10 |
5 | 312ms | 13104kb | OK | 10 |
6 | 452ms | 13256kb | OK | 10 |
7 | 532ms | 16648kb | OK | 10 |
8 | 960ms | 22380kb | OK | 10 |
9 | 1096ms | 23592kb | OK | 10 |
10 | 1128ms | 25608kb | OK | 10 |
Punctaj total | 100 |