Borderou de evaluare (job #1646251)

Utilizator andreea_zahariaAndreea Zaharia andreea_zaharia Data 10 martie 2016 15:32:15
Problema Numar4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void impartire(char*, char*, int, int)’: user.cpp:25:11: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] b[cif]=NULL; ^ user.cpp: In function ‘int main()’: user.cpp:34:11: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] a[n+m]=NULL; ^ user.cpp:39:16: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] a[la-1]=NULL; ^ user.cpp:46:12: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] a2[m+2]=NULL; ^ user.cpp:29:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numar4.in", "r", stdin); ^ user.cpp:30:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numar4.out", "w", stdout); ^ user.cpp:31:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d ", &n,&m); ^ user.cpp:33:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c ", &a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK5
20ms264kbOK5
30ms260kbOK5
40ms264kbOK5
50ms264kbOK5
60ms268kbOK5
70ms260kbOK5
80ms260kbOK5
90ms264kbOK5
100ms264kbOK5
110ms264kbOK5
120ms264kbOK5
130ms264kbOK5
140ms268kbOK5
150ms260kbOK5
1640ms264kbOK5
1728ms264kbOK5
18144ms260kbOK5
190ms264kbOK5
200ms264kbOK5
Punctaj total100

Ceva nu functioneaza?