Borderou de evaluare (job #1950578)

Utilizator horiainfoTurcuman Horia horiainfo Data 3 aprilie 2017 10:10:15
Problema Suma6 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In constructor ‘Query::Query(int, int, int, int)’: user.cpp:12:18: warning: ‘Query::rt’ will be initialized after [-Wreorder] int bucket, lf, rt, idx; ^ user.cpp:12:6: warning: ‘int Query::bucket’ [-Wreorder] int bucket, lf, rt, idx; ^ user.cpp:14:2: warning: when initialized here [-Wreorder] Query(const int lf = 0, const int rt = 0, const int b = 0, const int idx = 0) ^ user.cpp: In function ‘int main()’: user.cpp:45:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("suma6.in", "r", stdin); ^ user.cpp:46:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &s); ^ user.cpp:48:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^ user.cpp:50:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &nrQ); ^ user.cpp:54:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &lf, &rt); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit9384kbTime limit exceeded.0
2Depăşit9408kbTime limit exceeded.0
34ms3624kbOK10
4288ms9464kbOK10
5Depăşit9384kbTime limit exceeded.0
6292ms9464kbOK10
7344ms9460kbOK10
8Depăşit9404kbTime limit exceeded.0
9Depăşit9372kbTime limit exceeded.0
10Depăşit9412kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?