Pagini recente »
Borderou de evaluare (job #321971)
|
Borderou de evaluare (job #393875)
|
Borderou de evaluare (job #796690)
|
Borderou de evaluare (job #290158)
|
Borderou de evaluare (job #749401)
Borderou de evaluare (job #749401)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:35:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
35 | freopen("2numere.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:36:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
36 | freopen("2numere.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'bool solve()':
main.cpp:27:16: warning: 'i1' may be used uninitialized [-Wmaybe-uninitialized]
27 | if(!vis1[i1])ans1.push_back(n1[i1]);
| ~~~~~~~^
main.cpp:9:26: note: 'i1' was declared here
9 | int min_diff = 1000, i1, i2;
| ^~
main.cpp:28:16: warning: 'i2' may be used uninitialized [-Wmaybe-uninitialized]
28 | if(!vis2[i2])ans2.push_back(n2[i2]);
| ~~~~~~~^
main.cpp:9:30: note: 'i2' was declared here
9 | int min_diff = 1000, i1, i2;
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
2 ms
|
245 kb
|
OK
|
10
|
2
|
2 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
5
|
1 ms
|
245 kb
|
OK
|
10
|
6
|
1 ms
|
245 kb
|
OK
|
10
|
7
|
1 ms
|
245 kb
|
a) linie incorecta; b) linie incorecta; c) linie incorecta
|
0
|
8
|
1 ms
|
245 kb
|
a) linie incorecta; b) linie incorecta; c) linie incorecta
|
0
|
9
|
1 ms
|
245 kb
|
OK
|
10
|
10
|
2 ms
|
249 kb
|
Killed by Signal 11
|
0
|
Punctaj total
|
70
|