Pagini recente » Borderou de evaluare (job #2529612) | Borderou de evaluare (job #2191718) | Borderou de evaluare (job #1279783) | Borderou de evaluare (job #592186) | Borderou de evaluare (job #1230927)
Borderou de evaluare (job #1230927)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:108:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("boundingbox.in", "r", stdin);
^
user.cpp:109:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("boundingbox.out", "w", stdout);
^
user.cpp:111:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:118:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &r, &c);
^
user.cpp:124:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &mat[i][j]);
^
user.cpp:129:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp: In function ‘void solve(int, int, int, int, int)’:
user.cpp:103:33: warning: ‘rezi’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rez = rez + (long long)rezi * (i2 - i1 + 1) * (j2 - j1 + 1);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 0ms | 284kb | OK | 10 | 20 |
✗ | 2 | 0ms | 284kb | OK | 10 |
✗ | 3 | 8ms | 284kb | OK | 10 | 20 |
✗ | 4 | 8ms | 284kb | OK | 10 |
✗ | 5 | 8ms | 284kb | OK | 10 | 20 |
✗ | 6 | 8ms | 284kb | OK | 10 |
✓ | 7 | 64ms | 288kb | OK | 10 | 20 |
✗ | 8 | 64ms | 280kb | OK | 10 |
✗ | 9 | 72ms | 280kb | OK | 10 | 20 |
✗ | 10 | 72ms | 284kb | OK | 10 |
Punctaj total | 100 |