Pagini recente » Borderou de evaluare (job #1573398) | Borderou de evaluare (job #3040718) | Borderou de evaluare (job #1742327) | Borderou de evaluare (job #3148104) | Borderou de evaluare (job #2318174)
Borderou de evaluare (job #2318174)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:49:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (minM.size() == P && minM[v[minIn]] > 1) {
~~~~~~~~~~~~^~~~
main.cpp:57:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'LL {aka long long int}' [-Wformat=]
printf("%I64d\n", ans);
^
main.cpp:28:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &N, &P, &Q);
^
main.cpp:34:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[0]);
^
main.cpp:39:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 6ms | 131kb | Incorect | 0 |
3 | 7ms | 131kb | Incorect | 0 |
4 | 39ms | 262kb | Incorect | 0 |
5 | 61ms | 393kb | Incorect | 0 |
6 | 120ms | 1835kb | Incorect | 0 |
7 | 134ms | 1441kb | Incorect | 0 |
8 | 124ms | 655kb | Incorect | 0 |
9 | 106ms | 655kb | Incorect | 0 |
10 | 119ms | 1310kb | Incorect | 0 |
Punctaj total | 0 |