Borderou de evaluare (job #1491601)

Utilizator dominiciorgandaDominic Iorganda dominiciorganda Data 25 septembrie 2015 18:46:45
Problema Sudest Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp:95:2: warning: "/*" within comment [-Wcomment] /* for(k=m,xc=x,mc=x,ct=1;g[xc][mc]>1;k--,ct++) ^ user.cpp: In function ‘int main()’: user.cpp:11:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&x); ^ user.cpp:15:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&f[k][i]); ^ user.cpp:17:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&m); ^ user.cpp:19:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&h[k]); ^ user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sudest.in","r",stdin); ^ user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sudest.out","w",stdout); ^ user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^ user.cpp:15:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&f[k][i]); ^ user.cpp:17:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&m); ^ user.cpp:19:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&h[k]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms532kbRaspuns gresit!0
20ms556kbRaspuns gresit!0
30ms572kbRaspuns gresit!0
40ms604kbRaspuns gresit!0
50ms636kbRaspuns gresit!0
60msDepăşitMemory limit exceeded.0
70msDepăşitMemory limit exceeded.0
80msDepăşitMemory limit exceeded.0
94msDepăşitMemory limit exceeded.0
100ms516kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?