Pagini recente » Borderou de evaluare (job #1056151) | Borderou de evaluare (job #1450177) | Borderou de evaluare (job #147066) | Borderou de evaluare (job #2015722) | Borderou de evaluare (job #2279680)
Borderou de evaluare (job #2279680)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:122:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[nod.second].size();i++){
~^~~~~~~~~~~~~~~~~~~~~
main.cpp:41:12: warning: unused variable 'j' [-Wunused-variable]
int i, j, nrmuchii, n, t, in, sf, sum, muchiie, e, nr_total_de_e, x, y, cost_e, nr_muchii_adaugate_e=0;
^
main.cpp:49:40: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d%d", &t, &n, &nrmuchii);
^
main.cpp:53:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d", &in, &sf);
^
main.cpp:54:53: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%c%c%c%c%c", &c, &c1, &c2, &c3, &c4);
^
main.cpp:148:22: warning: 'nr_total_de_e' may be used uninitialized in this function [-Wmaybe-uninitialized]
nr_total_de_e+=ninja[i].nr_de_e;
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
main.cpp:74:14: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized]
sum+=20;
^~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 917kb | Corect! | 2 |
| 2 | 32ms | 1441kb | Killed by Signal 11 | 0 |
| 3 | 40ms | 2097kb | Killed by Signal 11 | 0 |
| 4 | 4ms | 917kb | Corect! | 2 |
| 5 | 4ms | 917kb | Corect! | 2 |
| 6 | 51ms | 2613kb | Corect! | 2 |
| 7 | 4ms | 917kb | Corect! | 2 |
| 8 | 51ms | 2744kb | Corect! | 2 |
| 9 | 37ms | 1699kb | Corect! | 2 |
| 10 | 50ms | 2482kb | Corect! | 2 |
| 11 | 4ms | 917kb | Corect | 4 |
| 12 | 31ms | 1441kb | Killed by Signal 11 | 0 |
| 13 | 38ms | 2097kb | Killed by Signal 11 | 0 |
| 14 | 3ms | 917kb | Corect | 4 |
| 15 | 4ms | 917kb | Corect | 4 |
| 16 | 51ms | 2613kb | Corect | 4 |
| 17 | 4ms | 917kb | Corect | 4 |
| 18 | 45ms | 2613kb | Corect | 4 |
| 19 | 37ms | 1699kb | Corect | 4 |
| 20 | 50ms | 2482kb | Corect | 4 |
| 21 | 4ms | 917kb | Incorect! | 0 |
| 22 | 31ms | 1441kb | Killed by Signal 11 | 0 |
| 23 | 38ms | 2097kb | Killed by Signal 11 | 0 |
| 24 | 4ms | 917kb | Incorect! | 0 |
| 25 | 4ms | 917kb | Incorect! | 0 |
| 26 | 51ms | 2613kb | Incorect! | 0 |
| 27 | 4ms | 917kb | Incorect! | 0 |
| 28 | 45ms | 2613kb | Incorect! | 0 |
| 29 | 37ms | 1699kb | Incorect! | 0 |
| 30 | 49ms | 2351kb | Incorect! | 0 |
| 31 | 4ms | 917kb | Corect! (Exemplu) | 10 |
| Punctaj total | 58 |