Pagini recente »
Borderou de evaluare (job #516689)
|
Borderou de evaluare (job #325724)
|
Borderou de evaluare (job #690443)
|
Borderou de evaluare (job #782244)
|
Borderou de evaluare (job #689543)
Borderou de evaluare (job #689543)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:17:41: warning: unused variable 'sp3' [-Wunused-variable]
17 | int t, n, p1, p2, p3, sp1 = n, sp2, sp3, r, maxx = 0, x1, x2, x3;
| ^~~
main.cpp:17:27: warning: 'n' is used uninitialized [-Wuninitialized]
17 | int t, n, p1, p2, p3, sp1 = n, sp2, sp3, r, maxx = 0, x1, x2, x3;
| ^~~
main.cpp:17:12: note: 'n' declared here
17 | int t, n, p1, p2, p3, sp1 = n, sp2, sp3, r, maxx = 0, x1, x2, x3;
| ^
main.cpp:61:71: warning: 'x3' may be used uninitialized in this function [-Wmaybe-uninitialized]
61 | out << x1 + x2 + x3 << " " << x1 << " " << x2 << " " << x3 << " " << n - ( x1 * p1 + x2 * p2 + x3 * p3 ) << '\n';
| ^~~
main.cpp:61:58: warning: 'x2' may be used uninitialized in this function [-Wmaybe-uninitialized]
61 | out << x1 + x2 + x3 << " " << x1 << " " << x2 << " " << x3 << " " << n - ( x1 * p1 + x2 * p2 + x3 * p3 ) << '\n';
| ^~~
main.cpp:61:45: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized]
61 | out << x1 + x2 + x3 << " " << x1 << " " << x2 << " " << x3 << " " << n - ( x1 * p1 + x2 * p2 + x3 * p3 ) << '\n';
| ^~~
main.cpp:58:13: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
58 | if ( r == 0 )
| ^~
main.cpp:17:23: warning: 'p3' may be used uninitialized in this function [-Wmaybe-uninitialized]
17 | int t, n, p1, p2, p3, sp1 = n, sp2, sp3, r, maxx = 0, x1, x2, x3;
| ^~
main.cpp:17:19: warning: 'p2' may be used uninitialized in this function [-Wmaybe-uninitialized]
17 | int t, n, p1, p2, p3, sp1 = n, sp2, sp3, r, maxx = 0, x1, x2, x3;
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1571 ms
|
40218 kb
|
Corect
|
10
|
2
|
1563 ms
|
40349 kb
|
Corect
|
10
|
3
|
1565 ms
|
40218 kb
|
Corect
|
10
|
4
|
1562 ms
|
40218 kb
|
Corect
|
10
|
5
|
1594 ms
|
40222 kb
|
Corect
|
10
|
6
|
1565 ms
|
40218 kb
|
Corect
|
10
|
7
|
1567 ms
|
40218 kb
|
Corect
|
10
|
8
|
1601 ms
|
40218 kb
|
Corect
|
10
|
9
|
1558 ms
|
40218 kb
|
Corect
|
10
|
10
|
1560 ms
|
40222 kb
|
Corect
|
10
|
Punctaj total
|
100
|