Borderou de evaluare (job #1788273)

Utilizator raulmuresanRaul Muresan raulmuresan Data 25 octombrie 2016 21:03:03
Problema Inundatie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void cauta(int)’: user.cpp:10:9: warning: unused variable ‘i’ [-Wunused-variable] int i,st,dr,mij; ^ user.cpp: In function ‘int main()’: user.cpp:85:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] if(t>=v[n]) printf("%d\n",w[n]); ^ user.cpp:95:46: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",w[aux]+(( t-1)*(n-aux))); ^ user.cpp:50:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("inundatie.in","r",stdin); ^ user.cpp:51:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("inundatie.out","w",stdout); ^ user.cpp:52:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:56:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^ user.cpp:75:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&q); ^ user.cpp:78:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK10
20ms304kbOK10
38ms392kbIncorect0
424ms532kbOK10
536ms628kbIncorect0
648ms744kbIncorect0
764ms1008kbIncorect0
892ms1160kbIncorect0
9124ms1320kbIncorect0
100ms272kbOK10
Punctaj total40

Ceva nu functioneaza?