Pagini recente » Borderou de evaluare (job #1271796) | Borderou de evaluare (job #20981) | Borderou de evaluare (job #2199775) | Borderou de evaluare (job #1173676) | Borderou de evaluare (job #1286657)
Borderou de evaluare (job #1286657)
Raport evaluator
Compilare:
user.cpp: In function ‘int cb(int, int)’:
user.cpp:31:7: warning: unused variable ‘st’ [-Wunused-variable]
int st = 0, dr = nrs[poz] - 1, med, last = 0, i;
^
user.cpp:31:34: warning: unused variable ‘med’ [-Wunused-variable]
int st = 0, dr = nrs[poz] - 1, med, last = 0, i;
^
user.cpp:31:39: warning: unused variable ‘last’ [-Wunused-variable]
int st = 0, dr = nrs[poz] - 1, med, last = 0, i;
^
user.cpp:37:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:41:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spectacole.in", "r", stdin);
^
user.cpp:42:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spectacole.out", "w", stdout);
^
user.cpp:44:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:46:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:48:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &b[i]);
^
user.cpp:50:59: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &spec[i].sala, &spec[i].x, &spec[i].y);
^
user.cpp:43:26: warning: ‘nrc’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int n, m, i, j, maxim, nrc, maxc;
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✗ | 1 | 0ms | 300kb | OK | 10 |
✓ | 2 | 0ms | 300kb | OK | 10 |
✗ | 3 | 0ms | 300kb | OK | 10 |
✗ | 4 | 4ms | 336kb | OK | 10 |
✗ | 5 | 8ms | 340kb | OK | 10 |
✗ | 6 | 208ms | 460kb | OK | 10 |
✗ | 7 | 16ms | 520kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 8 | 20ms | 596kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 9 | 20ms | 588kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 10 | 20ms | 592kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 60 |