Borderou de evaluare (job #1302656)

Utilizator SebiSebiPirtoaca George Sebastian SebiSebi Data 27 decembrie 2014 09:58:57
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:135:8: warning: unused variable ‘x’ [-Wunused-variable] int i,x,poz,before,after; ^ user.cpp:135:10: warning: variable ‘poz’ set but not used [-Wunused-but-set-variable] int i,x,poz,before,after; ^ user.cpp:135:14: warning: unused variable ‘before’ [-Wunused-variable] int i,x,poz,before,after; ^ user.cpp:135:21: warning: unused variable ‘after’ [-Wunused-variable] int i,x,poz,before,after; ^ user.cpp:136: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:137: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:138:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ /tmp/cctvBwX7.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
10ms684kbIncorect0
20ms764kbIncorect0
312ms1608kbIncorect0
412ms1608kbIncorect0
512ms1604kbIncorect0
640ms3552kbIncorect0
776ms5636kbIncorect0
8208ms10884kbIncorect0
9204ms10876kbIncorect0
10200ms10884kbIncorect0
Punctaj total0

Ceva nu functioneaza?