Borderou de evaluare (job #1788298)

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

Raport evaluator

Compilare: user.cpp: In function ‘void cauta(long long int)’: user.cpp:10:9: warning: unused variable ‘i’ [-Wunused-variable] int i,st,dr,mij; ^ user.cpp: In function ‘int main()’: user.cpp:35:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&n,&m); ^ user.cpp:35:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:39:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&x); ^ user.cpp:53:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&q); ^ user.cpp:56:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&t); ^ user.cpp:64:54: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",w[gasit]+(( t-1)*(n-gasit))); ^ user.cpp:33: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:34: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:35: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:39:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^ user.cpp:53:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&q); ^ user.cpp:56: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
20ms300kbOK10
312ms432kbOK10
424ms612kbOK10
536ms736kbOK10
648ms892kbOK10
772ms1240kbOK10
896ms1448kbOK10
9132ms1668kbOK10
100ms260kbOK10
Punctaj total100

Ceva nu functioneaza?