Borderou de evaluare (job #1209254)

Utilizator thewildnathNathan Wildenberg thewildnath Data 17 iulie 2014 13:39:15
Problema Senat Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘bool drum()’: user.cpp:26:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<v[nod].size();++i) ^ user.cpp: In function ‘int main()’: user.cpp:61:11: warning: unused variable ‘ch’ [-Wunused-variable] char *ch,*p; ^ user.cpp:61:15: warning: unused variable ‘p’ [-Wunused-variable] char *ch,*p; ^ user.cpp:58:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("senat.in","r",stdin); ^ user.cpp:59:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("senat.out","w",stdout); ^ user.cpp:63:26: 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:68:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(c); ^ /tmp/ccVqSuJK.o: In function `main': user.cpp:(.text.startup+0x97): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms308kbS-a respectat legea!10
20ms364kbIncorect!0
30ms324kbIncorect!0
40ms388kbIncorect!0
50ms476kbIncorect!0
60ms456kbIncorect!0
7Depăşit476kbTime limit exceeded.0
8Depăşit476kbTime limit exceeded.0
90ms300kbS-a respectat legea!10
100ms452kbS-a respectat legea!10
Punctaj total30

Ceva nu functioneaza?