Pagini recente » Borderou de evaluare (job #271434) | Borderou de evaluare (job #2028652) | Borderou de evaluare (job #413526) | Borderou de evaluare (job #636137) | Borderou de evaluare (job #1748802)
Borderou de evaluare (job #1748802)
Raport evaluator
Compilare:
user.cpp: In member function ‘long long int aint::query(int, int)’:
user.cpp:70:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 1; i < nodes.size(); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:93:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for (i = 1; i <= n; i++) scanf("%d", &v[i]);
^
user.cpp:89:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sequencequery.in","r",stdin);
^
user.cpp:90:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sequencequery.out","w",stdout);
^
user.cpp:92:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &q);
^
user.cpp:93:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i = 1; i <= n; i++) scanf("%d", &v[i]);
^
user.cpp:97:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &l, &r);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 488kb | Incorect | 0 |
2 | 0ms | 492kb | Incorect | 0 |
3 | 0ms | 504kb | Incorect | 0 |
4 | 0ms | 500kb | Incorect | 0 |
5 | 0ms | 504kb | Incorect | 0 |
6 | 0ms | 496kb | Incorect | 0 |
7 | 0ms | 532kb | Incorect | 0 |
8 | 0ms | 524kb | Incorect | 0 |
9 | 12ms | 900kb | Incorect | 0 |
10 | 20ms | 896kb | Incorect | 0 |
11 | 16ms | 1320kb | Incorect | 0 |
12 | 24ms | 1320kb | Incorect | 0 |
13 | 72ms | 2208kb | Incorect | 0 |
14 | 136ms | 2204kb | Incorect | 0 |
15 | 92ms | 3936kb | Incorect | 0 |
16 | 160ms | 3940kb | Incorect | 0 |
17 | 164ms | 3940kb | Incorect | 0 |
18 | 308ms | 3932kb | Incorect | 0 |
19 | 204ms | 7400kb | Incorect | 0 |
20 | 364ms | 7392kb | Incorect | 0 |
Punctaj total | 0 |