Pagini recente » Borderou de evaluare (job #3203761) | Borderou de evaluare (job #3226933) | Borderou de evaluare (job #2857127) | Borderou de evaluare (job #2832869) | Borderou de evaluare (job #3270495)
Borderou de evaluare (job #3270495)
Raport evaluator
Compilare:
main.c: In function 'teognis':
main.c:99:38: warning: comparison between pointer and integer
99 | if (distt[nx][ny]!=-1 && (distt[s][x][y]+1)>=distp[nx][ny]) {
| ^~
main.c: In function 'main':
main.c:173:9: warning: 'cc' may be used uninitialized [-Wmaybe-uninitialized]
173 | rez=teognis(n, m, lt, ct, lc, cc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:145:36: note: 'cc' was declared here
145 | int n,m,lin,col,lp,cp,lt,ct,lc,cc,rez;
| ^~
main.c:173:9: warning: 'lc' may be used uninitialized [-Wmaybe-uninitialized]
173 | rez=teognis(n, m, lt, ct, lc, cc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:145:33: note: 'lc' was declared here
145 | int n,m,lin,col,lp,cp,lt,ct,lc,cc,rez;
| ^~
main.c:173:9: warning: 'ct' may be used uninitialized [-Wmaybe-uninitialized]
173 | rez=teognis(n, m, lt, ct, lc, cc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:145:30: note: 'ct' was declared here
145 | int n,m,lin,col,lp,cp,lt,ct,lc,cc,rez;
| ^~
main.c:173:9: warning: 'lt' may be used uninitialized [-Wmaybe-uninitialized]
173 | rez=teognis(n, m, lt, ct, lc, cc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:145:27: note: 'lt' was declared here
145 | int n,m,lin,col,lp,cp,lt,ct,lc,cc,rez;
| ^~
main.c:172:5: warning: 'cp' may be used uninitialized [-Wmaybe-uninitialized]
172 | percy(n, m, lp, cp);
| ^~~~~~~~~~~~~~~~~~~
main.c:145:24: note: 'cp' was declared here
145 | int n,m,lin,col,lp,cp,lt,ct,lc,cc,rez;
| ^~
main.c:172:5: warning: 'lp' may be used uninitialized [-Wmaybe-uninitialized]
172 | percy(n, m, lp, cp);
| ^~~~~~~~~~~~~~~~~~~
main.c:145:21: note: 'lp' was declared here
145 | int n,m,lin,col,lp,cp,lt,ct,lc,cc,rez;
| ^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
21 | 0ms | 303kb | OK! | 0 | 0 |
22 | 0ms | 303kb | OK! | 0 | 0 |
23 | 0ms | 557kb | Raspuns gresit! | 0 | 0 |
1 | 0ms | 303kb | OK! | 5 | 5 |
2 | 0ms | 303kb | Raspuns gresit! | 0 | 0 |
3 | 0ms | 303kb | Raspuns gresit! | 0 | 0 |
4 | 0ms | 303kb | Raspuns gresit! | 0 | 0 |
5 | 0ms | 557kb | Raspuns gresit! | 0 | 0 |
6 | 0ms | 819kb | Raspuns gresit! | 0 | 0 |
7 | 0ms | 823kb | OK! | 5 | 5 |
8 | 0ms | 819kb | Raspuns gresit! | 0 | 0 |
9 | 0ms | 1081kb | Raspuns gresit! | 0 | 0 |
10 | 0ms | 1081kb | Raspuns gresit! | 0 | 0 |
11 | 3ms | 5013kb | OK! | 5 | 5 |
12 | 4ms | 5275kb | Raspuns gresit! | 0 | 0 |
13 | 14ms | 10022kb | Raspuns gresit! | 0 | 0 |
14 | 19ms | 16850kb | Raspuns gresit! | 0 | 0 |
15 | 9ms | 9732kb | Raspuns gresit! | 0 | 0 |
16 | 48ms | 28467kb | OK! | 5 | 0 |
17 | 28ms | 23564kb | Raspuns gresit! | 0 |
18 | 19ms | 15814kb | Raspuns gresit! | 0 |
19 | 29ms | 22990kb | Raspuns gresit! | 0 |
20 | 0ms | 819kb | Raspuns gresit! | 0 |
Punctaj total | 15 |