Borderou de evaluare (job #1656940)

Utilizator fanache99Constantin-Buliga Stefan fanache99 Data 19 martie 2016 23:32:27
Problema Logic Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int get_not(char*&)’: user.cpp:47:13: warning: unused variable ‘x’ [-Wunused-variable] int rez,x; ^ user.cpp: In function ‘int main()’: user.cpp:71:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[300]’ [-Wformat=] scanf("%s%s",&e1,&e2); ^ user.cpp:71:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[300]’ [-Wformat=] user.cpp:66:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("logic.in","r",stdin); ^ user.cpp:67:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("logic.out","w",stdout); ^ user.cpp:69:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:71:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s%s",&e1,&e2); ^ user.cpp: In function ‘int get_not(char*&)’: user.cpp:47:9: warning: ‘rez’ may be used uninitialized in this function [-Wmaybe-uninitialized] int rez,x; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK10
20ms264kbOK10
30ms260kbOK10
40ms260kbOK10
58ms264kbOK10
60ms272kbOK10
70ms264kbOK10
80ms264kbOK10
90ms264kbOK10
100ms260kbOK10
Punctaj total100

Ceva nu functioneaza?