Borderou de evaluare (job #1302663)

Utilizator SebiSebiPirtoaca George Sebastian SebiSebi Data 27 decembrie 2014 10:01:58
Problema Prefix2 Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:92:8: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] int i,x,poz,before,after; ^ user.cpp:92:10: warning: variable ‘poz’ set but not used [-Wunused-but-set-variable] int i,x,poz,before,after; ^ user.cpp:92:14: warning: unused variable ‘before’ [-Wunused-variable] int i,x,poz,before,after; ^ user.cpp:92:21: warning: unused variable ‘after’ [-Wunused-variable] int i,x,poz,before,after; ^ user.cpp:93:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("prefix2.in","r",stdin); ^ user.cpp:94:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("prefix2.out","w",stdout); ^ user.cpp:95:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ /tmp/cc0wrUxL.o: In function `main': user.cpp:(.text.startup+0x54): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms668kbIncorect0
20ms756kbIncorect0
312ms1600kbIncorect0
412ms1596kbIncorect0
512ms1604kbIncorect0
640ms3544kbIncorect0
776ms5640kbIncorect0
8208ms10884kbIncorect0
9208ms10888kbIncorect0
10200ms10880kbIncorect0
Punctaj total0

Ceva nu functioneaza?