Borderou de evaluare (job #768754)

Utilizator avatar MIHNEA_PURCAREA Nerdvana 8 MIHNEA PURCAREA MIHNEA_PURCAREA IP ascuns
Problemă Cel mai lung subşir comun Compilator c-32
Rundă Tema 25 clasa a 7-a Status evaluat
Dată 18 mar. 2024 09:36:27 Scor 10

Raport evaluator

Compilare: main.c: In function 'main': main.c:21:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | fscanf(in, "%d%d", &n, &m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:99:20: warning: 'maxl' may be used uninitialized [-Wmaybe-uninitialized] 99 | switch(dir[l][c]){ | ~~~~~~^~~ main.c:18:32: note: 'maxl' was declared here 18 | int n, m, l, c, i, max, s, maxl, maxc; | ^~~~ main.c:99:20: warning: 'maxc' may be used uninitialized [-Wmaybe-uninitialized] 99 | switch(dir[l][c]){ | ~~~~~~^~~ main.c:18:38: note: 'maxc' was declared here 18 | int n, m, l, c, i, max, s, maxl, maxc; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 258 kb Raspuns corect! 10
2 2 ms 241 kb Lungime incorecta! 0
3 1 ms 245 kb Lungime incorecta! 0
4 1 ms 1290 kb Lungime incorecta! 0
5 1 ms 1560 kb Lungime incorecta! 0
6 9 ms 2887 kb Lungime incorecta! 0
7 19 ms 5226 kb Lungime incorecta! 0
8 19 ms 4964 kb Lungime incorecta! 0
9 28 ms 5500 kb Lungime incorecta! 0
10 19 ms 4448 kb Lungime incorecta! 0
Punctaj total 10