Borderou de evaluare (job #1789299)

Utilizator Emil64Emil Centiu Emil64 Data 26 octombrie 2016 21:01:21
Problema Heapuri Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:12: warning: unused variable ‘j’ [-Wunused-variable] int i, j, n, cr, nr, lg=0, pos; ^ user.cpp:18:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("heapuri.in", "r", stdin); ^ user.cpp:19:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("heapuri.out", "w", stdout); ^ user.cpp:20:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &n); ^ user.cpp:23:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &cr); ^ user.cpp:26:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &nr); ^ user.cpp:32:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &nr); ^ user.cpp:17:32: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized] int i, j, n, cr, nr, lg=0, pos; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit1244kbTime limit exceeded.00
2Depăşit1244kbTime limit exceeded.00
3Depăşit1244kbTime limit exceeded.00
4Depăşit1292kbTime limit exceeded.00
5Depăşit1456kbTime limit exceeded.00
6Depăşit1496kbTime limit exceeded.0
7Depăşit1760kbTime limit exceeded.0
8Depăşit1464kbTime limit exceeded.0
9Depăşit1496kbTime limit exceeded.0
10Depăşit1584kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?