Borderou de evaluare (job #1465520)

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

Raport evaluator

Compilare: user.cpp: In function ‘void interclasare(int)’: user.cpp:22: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:103:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < ans.size(); ++i) ^ 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:143: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:146: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:153: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
192ms4888kbOK10
2372ms5808kbOK10
3420ms6084kbOK10
4Depăşit9292kbTime limit exceeded.0
5Depăşit13892kbTime limit exceeded.0
6Depăşit9836kbTime limit exceeded.0
7Depăşit9984kbTime limit exceeded.0
8Depăşit14080kbTime limit exceeded.0
91936ms14048kbOK10
10Depăşit12876kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?