Borderou de evaluare (job #1465555)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 27 iulie 2015 16:40:27
Problema Mess Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘void interclasare(int)’: user.cpp:21:67: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i <= arb[leftSon].size() + arb[rightSon].size(); ++i) ^ user.cpp: In function ‘bool check(int)’: user.cpp:105:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (arb[it].size() < K) ^ user.cpp: In function ‘int main()’: user.cpp:131:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("mess.in","r",stdin); ^ user.cpp:132:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("mess.out","w",stdout); ^ user.cpp:134:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:139:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i]); ^ user.cpp:152:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] int op; scanf("%d", &op); ^ user.cpp:155:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] int pos; scanf("%d", &pos); stare[pos] ^= 1; ^ user.cpp:161:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &L , &R, &K); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
176ms4912kbOK10
2316ms5808kbOK10
3360ms6148kbOK10
4Depăşit9600kbTime limit exceeded.0
5Depăşit14304kbTime limit exceeded.0
61808ms10040kbOK10
7Depăşit10344kbTime limit exceeded.0
8Depăşit14660kbTime limit exceeded.0
91768ms14576kbOK10
10Depăşit13308kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?