Pagini recente » Borderou de evaluare (job #1114093) | Borderou de evaluare (job #216831) | Borderou de evaluare (job #387908) | Borderou de evaluare (job #3308976) | Borderou de evaluare (job #2708548)
Borderou de evaluare (job #2708548)
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 | 3ms | 131kb | OK | 5 |
| 2 | 5ms | 262kb | OK | 5 |
| 3 | 21ms | 393kb | OK | 5 |
| 4 | 27ms | 393kb | OK | 5 |
| 5 | 70ms | 655kb | OK | 5 |
| 6 | 2ms | 131kb | OK | 5 |
| 7 | 2ms | 131kb | OK | 5 |
| 8 | 85ms | 655kb | OK | 5 |
| 9 | 2ms | 131kb | OK | 5 |
| 10 | 76ms | 655kb | OK | 5 |
| 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 | OK | 5 |
| 17 | 21ms | 393kb | OK | 5 |
| 18 | 2ms | 131kb | OK | 5 |
| 19 | 83ms | 655kb | OK | 5 |
| 20 | 2ms | 131kb | OK | 5 |
| Punctaj total | 100 |