Pagini recente » Borderou de evaluare (job #1494365) | Borderou de evaluare (job #1137996) | Borderou de evaluare (job #1469167) | Borderou de evaluare (job #544474) | Borderou de evaluare (job #2366301)
Borderou de evaluare (job #2366301)
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 | 43ms | 1048kb | Incorect | 0 | 0 |
10 | 51ms | 1179kb | Incorect | 0 | 0 |
11 | 47ms | 1048kb | Incorect | 0 | 0 |
12 | 48ms | 917kb | Incorect | 0 | 0 |
13 | 118ms | 2228kb | Incorect | 0 | 0 |
14 | 92ms | 2359kb | Incorect | 0 | 0 |
15 | 414ms | 8536kb | Incorect | 0 | 0 |
16 | 388ms | 8536kb | Incorect | 0 |
17 | 409ms | 8536kb | Incorect | 0 |
18 | 379ms | 8536kb | Incorect | 0 |
19 | 384ms | 8536kb | Incorect | 0 |
20 | 265ms | 8536kb | OK | 5 |
Punctaj total | 40 |