Borderou de evaluare (job #1853469)

Utilizator antanaAntonia Boca antana Data 21 ianuarie 2017 20:11:10
Problema Showroom Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘void getCars(int)’: user.cpp:81:17: warning: NULL used in arithmetic [-Wpointer-arith] while(*p != NULL) ^ user.cpp:83:34: warning: NULL used in arithmetic [-Wpointer-arith] while(*p == ' ' && *p != NULL) ++p; ^ user.cpp: In function ‘int main()’: user.cpp:133:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("showroom.in", "r", stdin); ^ user.cpp:134:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("showroom.out", "w", stdout); ^ user.cpp:138:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d\n", &n, &A, &R, &K); ^ user.cpp:147:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccx4Taoi.o: In function `main': user.cpp:(.text.startup+0xc3): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms8172kbOK10
28ms8172kbOK10
38ms8176kbPartial incorect5
412ms8188kbOK10
512ms8264kbPartial incorect5
616ms8352kbPartial incorect5
720ms8488kbPartial incorect5
840ms8924kbOK10
920ms8160kbOK10
1040ms8936kbOK10
Punctaj total80

Ceva nu functioneaza?