Borderou de evaluare (job #1215567)

Utilizator ZenusTudor Costin Razvan Zenus Data 1 august 2014 13:46:10
Problema Mesaje Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void prelucrare()’: user.cpp:27:9: warning: unused variable ‘N’ [-Wunused-variable] int N=strlen(S),i; ^ user.cpp:27:21: warning: unused variable ‘i’ [-Wunused-variable] int N=strlen(S),i; ^ user.cpp: In function ‘int main()’: user.cpp:53:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("mesaje.in","r",stdin); ^ user.cpp:54:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("mesaje.out","w",stdout); ^ user.cpp:56:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(S); ^ user.cpp:62:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",S); ^ user.cpp:90:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",S); ^ /tmp/ccjcq6xy.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
14msDepăşitMemory limit exceeded.0
20ms820kbCorect10
30ms372kbCorect10
40ms344kbCorect10
50ms840kbCorect10
60ms340kbIncorect0
74ms384kbKilled by signal 11(SIGSEGV).0
828msDepăşitMemory limit exceeded.0
912ms1988kbKilled by signal 11(SIGSEGV).0
1020msDepăşitMemory limit exceeded.0
Punctaj total40

Ceva nu functioneaza?