Borderou de evaluare (job #1496445)

Utilizator fluture.godlikeGafton Mihnea Alexandru fluture.godlike Data 4 octombrie 2015 22:52:52
Problema Invsort Status done
Runda Lista lui wefgef Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:127:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("invsort.in", "r", stdin); ^ user.cpp:128:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("invsort.out", "w", stdout); ^ user.cpp:129:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:130:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i = 1; i<= n; ++i) scanf("%d", &v[i]); ^ user.cpp: In function ‘void rev(int, int)’: user.cpp:11:19: warning: ‘pos1’ may be used uninitialized in this function [-Wmaybe-uninitialized] int mij = (dr - st + 1)>>1; ^ user.cpp:65:13: note: ‘pos1’ was declared here int pos1; ^ user.cpp:11:30: warning: ‘pos1’ may be used uninitialized in this function [-Wmaybe-uninitialized] int mij = (dr - st + 1)>>1; ^ user.cpp:49:13: note: ‘pos1’ was declared here int pos1; ^ user.cpp:11:19: warning: ‘pos2’ may be used uninitialized in this function [-Wmaybe-uninitialized] int mij = (dr - st + 1)>>1; ^ user.cpp:26:19: note: ‘pos2’ was declared here int pos1, pos2; ^ user.cpp:26:13: warning: ‘pos1’ may be used uninitialized in this function [-Wmaybe-uninitialized] int pos1, pos2; ^ user.cpp: In function ‘void sortare(int, int)’: user.cpp:122:22: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] sortare(poz+1, dr); ^ user.cpp:117:22: warning: ‘mij’ may be used uninitialized in this function [-Wmaybe-uninitialized] partare(mij+1, dr); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit488kbTime limit exceeded.0
2Depăşit492kbTime limit exceeded.0
3Depăşit492kbTime limit exceeded.0
4Depăşit512kbTime limit exceeded.0
5Depăşit492kbTime limit exceeded.0
6Depăşit504kbTime limit exceeded.0
7Depăşit488kbTime limit exceeded.0
8Depăşit508kbTime limit exceeded.0
9Depăşit508kbTime limit exceeded.0
10Depăşit492kbTime limit exceeded.0
11Depăşit512kbTime limit exceeded.0
12Depăşit512kbTime limit exceeded.0
13Depăşit508kbTime limit exceeded.0
14Depăşit508kbTime limit exceeded.0
15Depăşit504kbTime limit exceeded.0
16Depăşit508kbTime limit exceeded.0
17Depăşit508kbTime limit exceeded.0
18Depăşit504kbTime limit exceeded.0
19Depăşit508kbTime limit exceeded.0
20Depăşit504kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?