Borderou de evaluare (job #1571472)

Utilizator Costel_DraghiciDraghici Constantin Costel_Draghici Data 18 ianuarie 2016 09:41:14
Problema Numere 5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long unsigned int*’ [-Wformat=] {scanf("%d",&z); ^ user.cpp:32:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] printf("%d %d",a,b); ^ user.cpp:32:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] user.cpp:10:11: warning: unused variable ‘p’ [-Wunused-variable] int n,p=1,i; ^ user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numere5.in","r",stdin); ^ user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numere5.out","w",stdout); ^ user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] {scanf("%d",&z); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
164ms624kbIncorect00
20ms436kbOK10
372msDepăşitMemory limit exceeded.0
444ms584kbOK10
5104msDepăşitMemory limit exceeded.0
6164ms444kbKilled by signal 11(SIGSEGV).00
7124msDepăşitMemory limit exceeded.0
8124msDepăşitMemory limit exceeded.0
9216ms400kbKilled by signal 11(SIGSEGV).0
10252msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?