Pagini recente » Borderou de evaluare (job #1885980) | Borderou de evaluare (job #2562831) | Borderou de evaluare (job #1842523) | Borderou de evaluare (job #1818288) | Borderou de evaluare (job #1950570)
Borderou de evaluare (job #1950570)
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 | 556ms | 8632kb | Incorect | 0 |
2 | 708ms | 8660kb | OK | 10 |
3 | 4ms | 3604kb | OK | 10 |
4 | 252ms | 8656kb | OK | 10 |
5 | 568ms | 8636kb | Incorect | 0 |
6 | 248ms | 8660kb | OK | 10 |
7 | 292ms | 8656kb | OK | 10 |
8 | 588ms | 8656kb | OK | 10 |
9 | 556ms | 8636kb | Incorect | 0 |
10 | 588ms | 8656kb | OK | 10 |
Punctaj total | 70 |