Pagini recente » Borderou de evaluare (job #3202442) | Borderou de evaluare (job #1224057) | Borderou de evaluare (job #2415179) | monede3 | Borderou de evaluare (job #2702583)
Borderou de evaluare (job #2702583)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:38:44: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d%d%d", &N, &M, &X, &Y);
^
main.cpp:43:50: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &Map[line][column]);
^
main.cpp:83:43: warning: 'maxLength' may be used uninitialized in this function [-Wmaybe-uninitialized]
}else if (maxSum == sum && length < maxLength){
~~~~~~~^~~~~~~~~~~
main.cpp:90:12: warning: 'maxZone' may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(fout, "%d %d %d", maxZone + 1, maxSum, maxLength);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 131kb | OK | 5 |
| 2 | 5ms | 393kb | OK | 5 |
| 3 | 22ms | 655kb | OK | 5 |
| 4 | 29ms | 786kb | OK | 5 |
| 5 | 72ms | 1179kb | OK | 5 |
| 6 | 2ms | 131kb | OK | 5 |
| 7 | 3ms | 131kb | Ultimele doua numere gresite | 1 |
| 8 | 85ms | 1179kb | OK | 5 |
| 9 | 2ms | 131kb | Ultimele doua numere gresite | 1 |
| 10 | 85ms | 1179kb | OK | 5 |
| 11 | 3ms | 131kb | Raspuns gresit | 0 |
| 12 | 3ms | 131kb | OK | 5 |
| 13 | 3ms | 131kb | OK | 5 |
| 14 | 5ms | 393kb | OK | 5 |
| 15 | 28ms | 786kb | OK | 5 |
| 16 | 3ms | 131kb | OK | 5 |
| 17 | 23ms | 655kb | OK | 5 |
| 18 | 3ms | 131kb | OK | 5 |
| 19 | 94ms | 1179kb | OK | 5 |
| 20 | 3ms | 131kb | OK | 5 |
| Punctaj total | 87 |