Pagini recente » Borderou de evaluare (job #2325957) | Borderou de evaluare (job #2672629) | Borderou de evaluare (job #883600) | Borderou de evaluare (job #965165) | Borderou de evaluare (job #2354356)
Borderou de evaluare (job #2354356)
Raport evaluator
Compilare:
main.cpp: In function 'void Read()':
main.cpp:31:39: warning: format '%s' expects argument of type 'char*', but argument 5 has type 'char (*)[10]' [-Wformat=]
fscanf(f,"%d %d %s",&X,&Y,&cor);
^
main.cpp:25:11: warning: unused variable 'j' [-Wunused-variable]
int i,j,X,Y,Cost;
^
main.cpp:26:10: warning: unused variable 'c' [-Wunused-variable]
char c;
^
main.cpp:27:25: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&task);
^
main.cpp:28:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d\n",&N,&M);
^
main.cpp:31:40: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d %s",&X,&Y,&cor);
^
main.cpp:33:29: warning: 'Cost' may be used uninitialized in this function [-Wmaybe-uninitialized]
graf[X].push_back(mp(Y,mp(Cost,E)));
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 917kb | Corect! | 2 |
| 2 | 27ms | 1703kb | Corect! | 2 |
| 3 | 36ms | 3014kb | Corect! | 2 |
| 4 | 3ms | 917kb | Corect! | 2 |
| 5 | 4ms | 917kb | Corect! | 2 |
| 6 | 33ms | 1835kb | Corect! | 2 |
| 7 | 4ms | 917kb | Corect! | 2 |
| 8 | 32ms | 2420kb | Corect! | 2 |
| 9 | 27ms | 1703kb | Corect! | 2 |
| 10 | 34ms | 1835kb | Corect! | 2 |
| 11 | 3ms | 917kb | Incorect! | 0 |
| 12 | 29ms | 1703kb | Incorect! | 0 |
| 13 | 33ms | 1835kb | Incorect! | 0 |
| 14 | 3ms | 917kb | Incorect! | 0 |
| 15 | 4ms | 917kb | Incorect! | 0 |
| 16 | 33ms | 1835kb | Incorect! | 0 |
| 17 | 4ms | 917kb | Incorect! | 0 |
| 18 | 31ms | 2289kb | Incorect! | 0 |
| 19 | 28ms | 1703kb | Incorect! | 0 |
| 20 | 34ms | 1835kb | Incorect! | 0 |
| 21 | 3ms | 917kb | Incorect! | 0 |
| 22 | 26ms | 1703kb | Incorect! | 0 |
| 23 | 32ms | 1835kb | Incorect! | 0 |
| 24 | 3ms | 917kb | Incorect! | 0 |
| 25 | 4ms | 917kb | Incorect! | 0 |
| 26 | 33ms | 1835kb | Incorect! | 0 |
| 27 | 4ms | 917kb | Incorect! | 0 |
| 28 | 31ms | 2289kb | Incorect! | 0 |
| 29 | 29ms | 1703kb | Incorect! | 0 |
| 30 | 34ms | 1835kb | Incorect! | 0 |
| 31 | 3ms | 917kb | Corect! (Exemplu) | 10 |
| Punctaj total | 30 |