Pagini recente » Borderou de evaluare (job #1632352) | Borderou de evaluare (job #2507435) | Borderou de evaluare (job #3191272) | Borderou de evaluare (job #1424362) | Borderou de evaluare (job #2756950)
Borderou de evaluare (job #2756950)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:15:32: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'int*' [-Wformat=]
scanf("%ld %ld", &n, &query);
^
main.cpp:15:32: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'int*' [-Wformat=]
main.cpp:18:27: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'int*' [-Wformat=]
scanf("%ld", &v[i]);
^
main.cpp:22:27: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'int*' [-Wformat=]
scanf("%ld", &q[i]);
^
main.cpp:43:25: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
printf("%ld ",nr);
^
main.cpp:13:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("veverite.in","r",stdin);
^
main.cpp:14:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("veverite.out","w",stdout);
^
main.cpp:15:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld", &n, &query);
^
main.cpp:18:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &v[i]);
^
main.cpp:22:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &q[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 3ms | 131kb | Incorect | 0 | 0 |
2 | 3ms | 131kb | Incorect | 0 |
3 | 3ms | 131kb | Incorect | 0 |
4 | 3ms | 131kb | Incorect | 0 |
5 | 52ms | 655kb | Incorect | 0 | 0 |
6 | 53ms | 655kb | Incorect | 0 |
7 | 52ms | 655kb | Incorect | 0 |
8 | 51ms | 655kb | Incorect | 0 |
9 | 58ms | 655kb | Incorect | 0 | 0 |
10 | 66ms | 655kb | Incorect | 0 |
11 | 61ms | 655kb | Incorect | 0 |
12 | 58ms | 655kb | Incorect | 0 |
13 | 68ms | 655kb | Incorect | 0 |
14 | 56ms | 655kb | Incorect | 0 |
15 | 60ms | 655kb | Incorect | 0 |
16 | 62ms | 655kb | Incorect | 0 |
17 | 59ms | 655kb | Incorect | 0 |
18 | 69ms | 655kb | Incorect | 0 |
19 | 60ms | 655kb | Incorect | 0 |
20 | 49ms | 655kb | Incorect | 0 |
Punctaj total | 0 |