Borderou de evaluare (job #2071081)

Utilizator tgm000Tudor Mocioi tgm000 Data 20 noiembrie 2017 11:04:17
Problema Lampa Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:38:14: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] a[x]=NULL; ^ user.cpp:40:14: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] b[y]=NULL; ^ user.cpp:49:17: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] a[x]=NULL; ^ user.cpp:51:17: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] b[y]=NULL; ^ user.cpp:67:14: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] a[x]=NULL; ^ user.cpp:69:14: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] b[y]=NULL; ^ user.cpp:87:15: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] a[xs]=NULL; ^ user.cpp:89:15: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] b[ys]=NULL; ^ user.cpp:18:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lampa.in","r",stdin); ^ user.cpp:19:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lampa.out","w",stdout); ^ user.cpp:20:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n",&n,&m); ^ user.cpp:21:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms268kbIncorect00
20ms280kbOK10
30ms292kbIncorect00
40ms308kbOK1010
5Depăşit440kbTime limit exceeded.00
6Depăşit596kbTime limit exceeded.00
70ms592kbIncorect0
8Depăşit2556kbTime limit exceeded.00
9Depăşit4196kbTime limit exceeded.0
10Depăşit12056kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?