Borderou de evaluare (job #1737638)

Utilizator dumitru123Patularu Mihai dumitru123 Data 4 august 2016 15:25:33
Problema Numere 5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:12:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&x); ^ user.cpp:16:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] if(ciur[i]==false) {printf("%d ",i);break;} ^ user.cpp:18:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] if(ciur[i]==false) {printf("%d ",i);break;} ^ user.cpp:7: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:8: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:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:12:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
164ms464kbOK1050
20ms272kbOK10
376ms520kbOK10
444ms420kbOK10
5100ms612kbOK10
692ms316kbKilled by signal 11(SIGSEGV).00
7132msDepăşitMemory limit exceeded.0
8136msDepăşitMemory limit exceeded.0
988ms272kbKilled by signal 11(SIGSEGV).0
10120ms516kbKilled by signal 11(SIGSEGV).0
Punctaj total50

Ceva nu functioneaza?