Pagini recente » Cod sursa (job #1975300) | Cod sursa (job #1502985) | Cod sursa (job #512587) | Cod sursa (job #404349) | Borderou de evaluare (job #2022757)
Borderou de evaluare (job #2022757)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:77:42: warning: operation on ‘color’ may be undefined [-Wsequence-point]
cul[++color] = bfs(color);
^
user.cpp:58:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ferma3.in","r",stdin);
^
user.cpp:59:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ferma3.out","w",stdout);
^
user.cpp:61:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:62:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&n,&m);
^
user.cpp:65:35: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(v[i]+1,nmax+3,stdin);
^
user.cpp:124:40: warning: ‘colmax’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d\n%c\n",solmax,colmax);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 540kb | Corect! Varianta 1 | 5 |
2 | 0ms | 544kb | Corect! Varianta 1 | 5 |
3 | 4ms | 784kb | Corect! Varianta 1 | 5 |
4 | 8ms | 1248kb | Corect! Varianta 1 | 5 |
5 | 24ms | 1276kb | Corect! Varianta 1 | 5 |
6 | 0ms | 328kb | Linie in afara matricei | 0 |
7 | 0ms | 460kb | Linie in afara matricei | 0 |
8 | 0ms | 456kb | Coloana in afara matricei | 0 |
9 | 0ms | 540kb | Coloana in afara matricei | 0 |
10 | 0ms | 544kb | Coloana in afara matricei | 0 |
11 | 0ms | 684kb | Linie in afara matricei | 0 |
12 | 4ms | 936kb | Linie in afara matricei | 0 |
13 | 12ms | 1564kb | Linie in afara matricei | 0 |
14 | 4ms | 1032kb | Linie in afara matricei | 0 |
15 | 12ms | 1276kb | Linie in afara matricei | 0 |
16 | 12ms | 1308kb | Linie in afara matricei | 0 |
17 | 12ms | 1340kb | Linie in afara matricei | 0 |
18 | 12ms | 1308kb | Linie in afara matricei | 0 |
19 | 20ms | 1868kb | Coloana in afara matricei | 0 |
20 | 0ms | 324kb | Corect! Varianta 1 | 5 |
Punctaj total | 30 |