Borderou de evaluare (job #1618437)

Utilizator SilviuIIon Silviu SilviuI Data 27 februarie 2016 20:12:53
Problema Qxy Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:61:62: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘shi* {aka short int*}’ [-Wformat=] scanf("%d %d %d %d",&v[i].x,&v[i].y,&v[i].xx,&v[i].yy); ^ user.cpp:61:62: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘shi* {aka short int*}’ [-Wformat=] user.cpp:61:62: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘shi* {aka short int*}’ [-Wformat=] user.cpp:61:62: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘shi* {aka short int*}’ [-Wformat=] user.cpp:51:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("qxy.in","r",stdin); ^ user.cpp:52:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("qxy.out","w",stdout); ^ user.cpp:54:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:56:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (int i=1;i<=n;i++) scanf("%d",&t[i]); ^ user.cpp:58:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&m); ^ user.cpp:61:63: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d",&v[i].x,&v[i].y,&v[i].xx,&v[i].yy); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
116msDepăşitMemory limit exceeded.0
216msDepăşitMemory limit exceeded.0
316msDepăşitMemory limit exceeded.0
416msDepăşitMemory limit exceeded.0
516msDepăşitMemory limit exceeded.0
616msDepăşitMemory limit exceeded.0
716msDepăşitMemory limit exceeded.0
816msDepăşitMemory limit exceeded.0
916msDepăşitMemory limit exceeded.0
1016msDepăşitMemory limit exceeded.0
1116msDepăşitMemory limit exceeded.0
1216msDepăşitMemory limit exceeded.0
1316msDepăşitMemory limit exceeded.0
1416msDepăşitMemory limit exceeded.0
1516msDepăşitMemory limit exceeded.0
1616msDepăşitMemory limit exceeded.0
1716msDepăşitMemory limit exceeded.0
1816msDepăşitMemory limit exceeded.0
1916msDepăşitMemory limit exceeded.0
2016msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?