Pagini recente » Borderou de evaluare (job #119636) | Borderou de evaluare (job #2355) | Borderou de evaluare (job #1532076) | Borderou de evaluare (job #939051) | Borderou de evaluare (job #3159449)
Borderou de evaluare (job #3159449)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:56:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
56 | for(z = 0; z < adiacent.size(); z++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp:60:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | if(z == adiacent.size()){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:86:15: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized]
86 | printf("%d %d\n%c", x, y, color);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:48:12: note: 'y' was declared here
48 | int x, y;
| ^
main.cpp:86:15: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized]
86 | printf("%d %d\n%c", x, y, color);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:48:9: note: 'x' was declared here
48 | int x, y;
| ^
main.cpp:86:15: warning: 'color' may be used uninitialized [-Wmaybe-uninitialized]
86 | printf("%d %d\n%c", x, y, color);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:47:10: note: 'color' was declared here
47 | char color;
| ^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 561kb | Corect! Varianta 1 | 5 |
2 | 1ms | 557kb | Corect! Varianta 1 | 5 |
3 | 2ms | 1081kb | Corect! Varianta 1 | 5 |
4 | 7ms | 1474kb | Corect! Varianta 1 | 5 |
5 | 14ms | 11304kb | Corect! Varianta 1 | 5 |
6 | 0ms | 303kb | Corect! Varianta 2 | 5 |
7 | 0ms | 303kb | Corect! Varianta 2 | 5 |
8 | 0ms | 303kb | Corect! Varianta 2 | 5 |
9 | 1ms | 557kb | Corect! Varianta 2 | 5 |
10 | 1ms | 557kb | Corect! Varianta 2 | 5 |
11 | 2ms | 950kb | Corect! Varianta 2 | 5 |
12 | 5ms | 1208kb | Corect! Varianta 2 | 5 |
13 | 9ms | 2252kb | Corect! Varianta 2 | 5 |
14 | 5ms | 1470kb | Corect! Varianta 2 | 5 |
15 | 9ms | 1990kb | Corect! Varianta 2 | 5 |
16 | 9ms | 1986kb | Corect! Varianta 2 | 5 |
17 | 9ms | 1994kb | Corect! Varianta 2 | 5 |
18 | 9ms | 1990kb | Corect! Varianta 2 | 5 |
19 | 14ms | 3293kb | Corect! Varianta 2 | 5 |
20 | 0ms | 303kb | Corect! Varianta 1 | 5 |
Punctaj total | 100 |