Pagini recente » Borderou de evaluare (job #2666929) | Borderou de evaluare (job #1395288) | Borderou de evaluare (job #198662) | Borderou de evaluare (job #11222) | Borderou de evaluare (job #2431453)
Borderou de evaluare (job #2431453)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:46:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ghiozdan.in", "r", stdin);
^
main.cpp:47:44: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ghiozdan.out" , "w" , stdout) ;
^
main.cpp:49:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
main.cpp:50:51: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for (int i = 0; i < n; ++i) scanf("%d", w + i);
^
main.cpp: In function 'void hirschberg(int, int, int)':
main.cpp:42:15: warning: 'bestr' may be used uninitialized in this function [-Wmaybe-uninitialized]
hirschberg(mid + 1, e, rem - bestr);
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 135ms | 786kb | OK | 10 |
4 | 2003ms | 917kb | Time limit exceeded | 0 |
5 | 764ms | 1966kb | OK | 10 |
6 | 871ms | 655kb | OK | 10 |
7 | 2000ms | 917kb | Time limit exceeded | 0 |
8 | 2003ms | 1310kb | Time limit exceeded | 0 |
9 | 2000ms | 1441kb | Time limit exceeded | 0 |
10 | 2000ms | 1441kb | Time limit exceeded | 0 |
Punctaj total | 50 |