Borderou de evaluare (job #1539524)

Utilizator AlexVolatiluVoicu Alex AlexVolatilu Data 30 noiembrie 2015 22:42:00
Problema Edist Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("edist.in","r",stdin); ^ user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("edist.out","w",stdout); ^ user.cpp:14:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d\n",&n,&m,&k); ^ user.cpp:15:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s1); ^ user.cpp:16:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s2); ^ /tmp/ccF5lBfc.o: In function `main': user.cpp:(.text.startup+0x8c): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms292kbOK10
20ms288kbOK10
30ms280kbOK10
40ms280kbOK10
50ms284kbOK10
616ms296kbOK10
720ms308kbOK10
8Depăşit360kbTime limit exceeded.0
9Depăşit428kbTime limit exceeded.0
10Depăşit436kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?