Pagini recente » Borderou de evaluare (job #2706291) | Borderou de evaluare (job #2425550) | Autentificare | Borderou de evaluare (job #3025004) | Borderou de evaluare (job #2708288)
Borderou de evaluare (job #2708288)
Raport evaluator
Compilare:
main.cpp: In function 'void Citire()':
main.cpp:24:43: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'int*' [-Wformat=]
fscanf(f,"%ld%ld%ld",&a1,&a2,&cost);
^
main.cpp:24:43: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'int*' [-Wformat=]
main.cpp:24:43: warning: format '%ld' expects argument of type 'long int*', but argument 5 has type 'int*' [-Wformat=]
main.cpp: In function 'void Afisare()':
main.cpp:82:75: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=]
fprintf(g,"%ld %ld\n",PerechFinale[i].first,PerechFinale[i].second);
^
main.cpp:82:75: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Wformat=]
main.cpp: In function 'void Citire()':
main.cpp:20:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld%ld",&N,&M);
^
main.cpp:24:44: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld%ld%ld",&a1,&a2,&cost);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 131kb | Killed by Signal 11 | 0 |
| 2 | 2ms | 131kb | Killed by Signal 11 | 0 |
| 3 | 2ms | 131kb | Killed by Signal 11 | 0 |
| 4 | 3ms | 131kb | Killed by Signal 11 | 0 |
| 5 | 3ms | 131kb | Killed by Signal 11 | 0 |
| 6 | 229ms | 3088kb | Killed by Signal 11 | 0 |
| 7 | 324ms | 5373kb | Killed by Signal 11 | 0 |
| 8 | 78ms | 1310kb | Killed by Signal 11 | 0 |
| 9 | 109ms | 1572kb | Killed by Signal 11 | 0 |
| 10 | 259ms | 4841kb | Killed by Signal 11 | 0 |
| Punctaj total | 0 |