Pagini recente » Borderou de evaluare (job #860266) | Borderou de evaluare (job #1434812) | Borderou de evaluare (job #2167950) | Borderou de evaluare (job #1365967) | Borderou de evaluare (job #2462425)
Borderou de evaluare (job #2462425)
Raport evaluator
Compilare:
main.cpp: In function 'void belford(int, int)':
main.cpp:49:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[u].size(); i++){
~^~~~~~~~~~~~
main.cpp: In function 'bool dijkstra(int, int)':
main.cpp:73:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[u.nod].size(); i++){
~^~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:109:45: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=]
scanf("%d%d", &nave[i].x, &nave[i].y);
^
main.cpp:109:45: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=]
main.cpp:104:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("naveplanare.in", "r", stdin);
^
main.cpp:105:44: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("naveplanare.out", "w", stdout);
^
main.cpp:107:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
main.cpp:109:46: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &nave[i].x, &nave[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 108ms | 39321kb | OK | 5 |
2 | 95ms | 39321kb | OK | 5 |
3 | 150ms | 39452kb | OK | 5 |
4 | 254ms | 39714kb | OK | 5 |
5 | 351ms | 39972kb | OK | 5 |
6 | 273ms | 40103kb | OK | 5 |
7 | 391ms | 40235kb | OK | 5 |
8 | 429ms | 40235kb | OK | 5 |
9 | 489ms | 40173kb | OK | 5 |
10 | 415ms | 40103kb | OK | 5 |
11 | 359ms | 40103kb | OK | 5 |
12 | 497ms | 40103kb | OK | 5 |
13 | 256ms | 40157kb | OK | 5 |
14 | 504ms | 40235kb | OK | 5 |
15 | 2503ms | 42201kb | Time limit exceeded | 0 |
16 | 2500ms | 42323kb | Time limit exceeded | 0 |
17 | 2501ms | 42508kb | Time limit exceeded | 0 |
18 | 2503ms | 42614kb | Time limit exceeded | 0 |
19 | 1941ms | 42717kb | OK | 5 |
20 | 2501ms | 42758kb | Time limit exceeded | 0 |
Punctaj total | 75 |