Pagini recente » Borderou de evaluare (job #2249138) | Borderou de evaluare (job #1656524) | Borderou de evaluare (job #6345) | Borderou de evaluare (job #2850613) | Borderou de evaluare (job #2366299)
Borderou de evaluare (job #2366299)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:48:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(q.empty() || !q2.empty()&&q2.front() < q.front())
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:24:10: warning: unused variable 'j' [-Wunused-variable]
int i, j, n, m, a;
^
main.cpp:22:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("scandura.in", "r",stdin);
^
main.cpp:23:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("scandura.out", "w", stdout);
^
main.cpp:27:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:36:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
{scanf("%d",&a);q.push(a);}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 5 | 5 |
2 | 2ms | 131kb | OK | 5 | 5 |
3 | 2ms | 131kb | OK | 5 | 5 |
4 | 2ms | 131kb | OK | 5 | 5 |
5 | 3ms | 131kb | OK | 5 | 5 |
6 | 3ms | 131kb | OK | 5 | 5 |
7 | 3ms | 131kb | OK | 5 | 5 |
8 | 3ms | 131kb | OK | 5 | 5 |
9 | 42ms | 524kb | Incorect | 0 | 0 |
10 | 49ms | 655kb | Incorect | 0 | 0 |
11 | 46ms | 655kb | Incorect | 0 | 0 |
12 | 46ms | 524kb | Incorect | 0 | 0 |
13 | 108ms | 1179kb | Incorect | 0 | 0 |
14 | 109ms | 1179kb | Incorect | 0 | 0 |
15 | 405ms | 4325kb | Incorect | 0 | 0 |
16 | 368ms | 4325kb | Incorect | 0 |
17 | 373ms | 4325kb | Incorect | 0 |
18 | 380ms | 4325kb | Incorect | 0 |
19 | 381ms | 4325kb | Incorect | 0 |
20 | 231ms | 4325kb | OK | 5 |
Punctaj total | 40 |