Borderou de evaluare (job #1412302)

Utilizator dobrebogdanDobre Bogdan Mihai dobrebogdan Data 1 aprilie 2015 11:18:23
Problema Substr Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:15: warning: variable ‘j’ set but not used [-Wunused-but-set-variable] int n,k,i,j,mi,la,pu,tm,st,dr; ^ user.cpp:7:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("substr.in","r",stdin); ^ user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("substr.out","w",stdout); ^ user.cpp:11:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n",&n,&k); ^ user.cpp:12:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(si+1); ^ /tmp/ccOxEE8p.o: In function `main': user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit39308kbTime limit exceeded.0
2Depăşit39304kbTime limit exceeded.0
3Depăşit39312kbTime limit exceeded.0
4Depăşit39300kbTime limit exceeded.0
5Depăşit39308kbTime limit exceeded.0
6Depăşit39312kbTime limit exceeded.0
7Depăşit39292kbTime limit exceeded.0
8Depăşit39292kbTime limit exceeded.0
9Depăşit39292kbTime limit exceeded.0
10Depăşit39308kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?