Pagini recente » Borderou de evaluare (job #2773438) | Borderou de evaluare (job #2803068) | Borderou de evaluare (job #2273694) | Borderou de evaluare (job #2909227) | Borderou de evaluare (job #2352083)
Borderou de evaluare (job #2352083)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:7:78: warning: unused variable 'j' [-Wunused-variable]
{int i,n,contor,contor2,distante[1000],tinte=0,a,nrdelovituri,m,tintit[1000],j;
^
main.cpp:17:121: warning: array subscript is above array bounds [-Warray-bounds]
{m=1;if(distante[i]*distante[i]==contor*contor+contor2*contor2) {tinte++;matrice[a][m]=contor;matrice[a][m+1]=contor2;m=1;a++;}
~~~~~~~~~~~~~~^
main.cpp:25:63: warning: array subscript is above array bounds [-Warray-bounds]
{if(matrice[contor][1]/matrice[contor+i][1]==matrice[contor][2]/matrice[contor+i][2]) {nrdelovituri--;tintit[contor]++;}
~~~~~~~~~~~~~~~~~^
main.cpp:25:84: warning: array subscript is above array bounds [-Warray-bounds]
{if(matrice[contor][1]/matrice[contor+i][1]==matrice[contor][2]/matrice[contor+i][2]) {nrdelovituri--;tintit[contor]++;}
~~~~~~~~~~~~~~~~~~~^
main.cpp:32:25: warning: array subscript is above array bounds [-Warray-bounds]
{if(matrice[i][2]==contor) {if(tintit[contor]==0) fout<<"1"<<" ";
~~~~~~~~~~~~^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Corect | 5 |
2 | 2ms | 131kb | A doua si a treia cerinta incorecte | 1 |
3 | 2ms | 131kb | A doua si a treia cerinta incorecte | 1 |
4 | 3ms | 131kb | A doua si a treia cerinta incorecte | 1 |
5 | 2ms | 131kb | Toate cerintele sunt incorecte | 0 |
6 | 2ms | 131kb | Toate cerintele sunt incorecte | 0 |
7 | 2ms | 131kb | Toate cerintele sunt incorecte | 0 |
8 | 3ms | 131kb | Toate cerintele sunt incorecte | 0 |
9 | 3ms | 131kb | Toate cerintele sunt incorecte | 0 |
10 | 2ms | 131kb | Toate cerintele sunt incorecte | 0 |
11 | 5ms | 131kb | Toate cerintele sunt incorecte | 0 |
12 | 7ms | 131kb | Toate cerintele sunt incorecte | 0 |
13 | 10ms | 131kb | Toate cerintele sunt incorecte | 0 |
14 | 13ms | 131kb | Toate cerintele sunt incorecte | 0 |
15 | 15ms | 131kb | Toate cerintele sunt incorecte | 0 |
16 | 18ms | 131kb | Toate cerintele sunt incorecte | 0 |
17 | 21ms | 131kb | Toate cerintele sunt incorecte | 0 |
18 | 23ms | 131kb | Toate cerintele sunt incorecte | 0 |
19 | 26ms | 131kb | Toate cerintele sunt incorecte | 0 |
20 | 29ms | 131kb | Toate cerintele sunt incorecte | 0 |
Punctaj total | 8 |