Pagini recente » Borderou de evaluare (job #2532193) | Borderou de evaluare (job #2476080) | Borderou de evaluare (job #3214567) | Borderou de evaluare (job #3285829) | Borderou de evaluare (job #2706945)
Borderou de evaluare (job #2706945)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:30: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:33: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:11:31: warning: 'camere' may be used uninitialized in this function [-Wmaybe-uninitialized]
if( nr > max || ( nr == max && c < camere ) ) {
~~~~~~~~~~~~^~~~~~~~~~~~~~~
main.cpp:26:41: note: 'camere' was declared here
int n, i, j, m, x, y, sum, max, zona, camere, k, rooms;
^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 5 |
2 | 5ms | 262kb | OK | 5 |
3 | 22ms | 393kb | OK | 5 |
4 | 27ms | 393kb | OK | 5 |
5 | 72ms | 655kb | OK | 5 |
6 | 2ms | 131kb | OK | 5 |
7 | 2ms | 131kb | Ultimele doua numere gresite | 1 |
8 | 82ms | 655kb | OK | 5 |
9 | 3ms | 131kb | Ultimele doua numere gresite | 1 |
10 | 82ms | 655kb | OK | 5 |
11 | 3ms | 131kb | Raspuns gresit | 0 |
12 | 3ms | 131kb | OK | 5 |
13 | 3ms | 131kb | OK | 5 |
14 | 5ms | 262kb | OK | 5 |
15 | 27ms | 393kb | OK | 5 |
16 | 3ms | 131kb | OK | 5 |
17 | 21ms | 393kb | OK | 5 |
18 | 2ms | 131kb | Raspuns gresit | 0 |
19 | 83ms | 655kb | OK | 5 |
20 | 2ms | 131kb | Ultimele doua numere gresite | 1 |
Punctaj total | 78 |