Borderou de evaluare (job #1570641)

Utilizator maria.sinteaMaria Sintea maria.sintea Data 16 ianuarie 2016 18:17:31
Problema Maxd Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d %d",&a,&b); ^ user.cpp:10:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:33:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d %d %d",min,nrdiv,contor); ^ user.cpp:33:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] user.cpp:33:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] user.cpp:7:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("maxd.in","r",stdin); ^ user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("maxd.out","w",stdout); ^ user.cpp:10:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms244kbKilled by signal 11(SIGSEGV).00
20ms248kbKilled by signal 11(SIGSEGV).0
30ms248kbKilled by signal 11(SIGSEGV).0
40ms240kbKilled by signal 11(SIGSEGV).0
50ms248kbKilled by signal 11(SIGSEGV).00
60ms244kbKilled by signal 11(SIGSEGV).0
7Depăşit260kbTime limit exceeded.0
80ms264kbOK100
90ms244kbKilled by signal 11(SIGSEGV).0
100ms240kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?