Pagini recente » Borderou de evaluare (job #343931) | Borderou de evaluare (job #3159440)
Borderou de evaluare (job #3159440)
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 | 557kb | Corect! Varianta 1 | 5 |
2 | 1ms | 557kb | Corect! Varianta 1 | 5 |
3 | 2ms | 1081kb | Corect! Varianta 1 | 5 |
4 | 6ms | 1470kb | Corect! Varianta 1 | 5 |
5 | 13ms | 11386kb | Corect! Varianta 1 | 5 |
6 | 0ms | 303kb | Gresit! | 0 |
7 | 0ms | 303kb | Gresit! | 0 |
8 | 0ms | 303kb | Gresit! | 0 |
9 | 1ms | 557kb | Gresit! | 0 |
10 | 1ms | 557kb | Gresit! | 0 |
11 | 2ms | 946kb | Gresit! | 0 |
12 | 4ms | 1208kb | Gresit! | 0 |
13 | 4ms | 2248kb | Gresit! | 0 |
14 | 5ms | 1470kb | Gresit! | 0 |
15 | 9ms | 1990kb | Gresit! | 0 |
16 | 9ms | 1990kb | Gresit! | 0 |
17 | 9ms | 1990kb | Corect! Varianta 2 | 5 |
18 | 9ms | 1986kb | Gresit! | 0 |
19 | 13ms | 3297kb | Gresit! | 0 |
20 | 0ms | 303kb | Corect! Varianta 1 | 5 |
Punctaj total | 35 |