Borderou de evaluare (job #1496577)

Utilizator andreea_zahariaAndreea Zaharia andreea_zaharia Data 5 octombrie 2015 10:59:24
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘bool VAL(char, char)’: user.cpp:36:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:83:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("bool.in", "r", stdin); ^ user.cpp:84:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("bool.out", "w", stdout); ^ user.cpp:86:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (s); ^ user.cpp:89:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d ", &N); ^ user.cpp:92:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%c", &C); ^ /tmp/ccskTwkF.o: In function `main': user.cpp:(.text.startup+0x5e): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK10
20ms264kbOK10
30ms260kbOK10
40ms260kbOK10
50ms264kbOK10
60ms264kbOK10
70ms260kbOK10
80ms260kbOK10
90ms256kbOK10
100ms260kbOK10
Punctaj total100

Ceva nu functioneaza?