Borderou de evaluare (job #1465536)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 27 iulie 2015 16:15:38
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:104:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (arb[it].size() < K) ^ user.cpp: In function ‘int main()’: user.cpp:127: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:128: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:130: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:135:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i]); ^ user.cpp:148: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:151: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:157: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
180ms4912kbOK10
2324ms5808kbOK10
3368ms6148kbOK10
4Depăşit9596kbTime limit exceeded.0
5Depăşit14308kbTime limit exceeded.0
61860ms10036kbOK10
7Depăşit10344kbTime limit exceeded.0
8Depăşit14660kbTime limit exceeded.0
91796ms14580kbOK10
10Depăşit13308kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?