Pagini recente » Borderou de evaluare (job #2432875) | Borderou de evaluare (job #2106037) | Borderou de evaluare (job #1057096) | Borderou de evaluare (job #1455466) | Borderou de evaluare (job #1950568)
Borderou de evaluare (job #1950568)
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:43: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:44: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:46:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp:48:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nrQ);
^
user.cpp:52: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 |
1 | 408ms | 8636kb | Incorect | 0 |
2 | 696ms | 8668kb | OK | 10 |
3 | 4ms | 3616kb | OK | 10 |
4 | 244ms | 8664kb | OK | 10 |
5 | 404ms | 8640kb | Incorect | 0 |
6 | 240ms | 8672kb | OK | 10 |
7 | 268ms | 8664kb | OK | 10 |
8 | 520ms | 8668kb | OK | 10 |
9 | 416ms | 8652kb | Incorect | 0 |
10 | 528ms | 8672kb | OK | 10 |
Punctaj total | 70 |