Borderou de evaluare (job #1590921)

Utilizator ialexia_ioanaAlexia Ichim ialexia_ioana Data 5 februarie 2016 17:28:04
Problema Dir Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:65:27: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] aux[1]=NULL; ^ user.cpp:35:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dir.in", "r", stdin); ^ user.cpp:36:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dir.out", "w", stdout); ^ user.cpp:39:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccTb9wO6.o: In function `main': user.cpp:(.text.startup+0x5b): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbOK10
20ms256kbOK10
30ms260kbOK10
40ms260kbOK10
50ms264kbOK10
60ms276kbOK10
70ms284kbOK10
80ms272kbOK10
90ms268kbOK10
100ms252kbOK10
Punctaj total100

Ceva nu functioneaza?