Pagini recente » Borderou de evaluare (job #2752879) | Borderou de evaluare (job #190768) | Borderou de evaluare (job #1442535) | Borderou de evaluare (job #2812995) | Borderou de evaluare (job #2706640)
Borderou de evaluare (job #2706640)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:26: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:29:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%hd", &mat[i][j] );
^
main.cpp:10:31: warning: 'camere' may be used uninitialized in this function [-Wmaybe-uninitialized]
if( nr > max || ( nr == max && c < camere ) ) {
~~~~~~~~~~~~^~~~~~~~~~~~~~~
main.cpp:23:50: note: 'camere' was declared here
int n, i, j, m, x, y, sum, sum_lat, max, zona, camere, k, rooms;
^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | Ultimele doua numere gresite | 1 |
2 | 5ms | 262kb | OK | 5 |
3 | 20ms | 393kb | OK | 5 |
4 | 27ms | 393kb | OK | 5 |
5 | 73ms | 655kb | OK | 5 |
6 | 2ms | 131kb | Ultimele doua numere gresite | 1 |
7 | 2ms | 131kb | OK | 5 |
8 | 83ms | 655kb | OK | 5 |
9 | 2ms | 131kb | Ultimele doua numere gresite | 1 |
10 | 83ms | 655kb | Ultimele doua numere gresite | 1 |
11 | 3ms | 131kb | OK | 5 |
12 | 3ms | 131kb | OK | 5 |
13 | 3ms | 131kb | OK | 5 |
14 | 5ms | 262kb | OK | 5 |
15 | 27ms | 393kb | OK | 5 |
16 | 3ms | 131kb | Ultimele doua numere gresite | 1 |
17 | 20ms | 393kb | Ultimele doua numere gresite | 1 |
18 | 2ms | 131kb | OK | 5 |
19 | 83ms | 655kb | Ultimele doua numere gresite | 1 |
20 | 2ms | 131kb | Raspuns gresit | 0 |
Punctaj total | 67 |