Borderou de evaluare (job #1312081)

Utilizator RengelBotocan Bogdan Rengel Data 8 ianuarie 2015 21:20:04
Problema Bunicu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bunicu.in", "r", stdin); ^ user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bunicu.out", "w", stdout); ^ user.cpp:12:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &T); ^ user.cpp:17:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%c", &N, &dummy); ^ user.cpp:20:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(A); ^ user.cpp:29:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(B); ^ /tmp/ccGnNVyo.o: In function `main': user.cpp:(.text.startup+0xb3): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms264kbBA NUUUU!!!00
24ms264kbBA NUUUU!!!0
34ms264kbBA NUUUU!!!0
412ms264kbA BA DA!!!20
528ms264kbA BA DA!!!20
Punctaj total0

Ceva nu functioneaza?