Borderou de evaluare (job #1672059)

Utilizator stelian2000Stelian Chichirim stelian2000 Data 2 aprilie 2016 12:35:53
Problema Culegere Status done
Runda Urmasii lui Moisil 2016, Clasa a 9-a Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:66:74: warning: statement has no effect [-Wunused-value] else if(v[xx][yy].x==5 && s<v[xx][yy].y) {v[xx][yy].x==0;v2[x][y].x=1;v2[xx][yy].x=2;x=xx;y=yy;a++;v1[v[xx][yy].y]--;v2[x][y].y=d;} ^ user.cpp:104:74: warning: statement has no effect [-Wunused-value] else if(v[xx][yy].x==5 && s>=v[xx][yy].y) {v2[x][y].x=1;v2[xx][yy].x=2;x=xx;y=yy;v2[x1][y1].x=0;x1=xx1;y1=yy1;v2[x][y].y=d;} ^ user.cpp:15:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("culegere.in","r",stdin); ^ user.cpp:16:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("culegere.out","w",stdout); ^ user.cpp:18:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",&n,&m,&k,&e); ^ user.cpp:30:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v3[i][0]); ^ user.cpp:31:83: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] if(v3[i][0]==1) {scanf("%d%d%d%d",&v3[i][1],&v3[i][2],&v3[i][3],&v3[i][4]);} ^ user.cpp:32:83: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] else scanf("%d%d%d%d%d",&v3[i][1],&v3[i][2],&v3[i][3],&v3[i][4],&v3[i][5]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms1032kbIncorect0
236ms10636kbIncorect0
3184ms9412kbIncorect0
4444ms19988kbIncorect0
5292ms27944kbIncorect0
6148ms10548kbIncorect0
70ms532kbIncorect0
8192ms9416kbIncorect0
90ms288kbIncorect0
10152ms11356kbIncorect0
111008ms56700kbIncorect0
12296ms14924kbIncorect0
134ms408kbIncorect0
140ms264kbIncorect0
150ms272kbIncorect0
160ms268kbIncorect0
170ms268kbIncorect0
180ms272kbIncorect0
190ms408kbIncorect0
200ms340kbIncorect0
210ms260kbIncorect0
220ms264kbIncorect0
230ms264kbIncorect0
240ms260kbIncorect0
250ms268kbIncorect0
Punctaj total0

Ceva nu functioneaza?