Borderou de evaluare (job #1298670)

Utilizator danyro364Savu Ioan Daniel danyro364 Data 23 decembrie 2014 00:35:39
Problema Sarac Sau Rege Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:55:57: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(g,"%ld",maxi(v[b],maxi(v[a],v[a+1]))); ^ user.cpp:57:44: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(g,"%ld",maxi(v[b],v[a])); ^ user.cpp:60:44: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] else fprintf(g,"%ld\n",query(1,1,p)); ^ user.cpp:41:16: warning: unused variable ‘t’ [-Wunused-variable] long i,j,m,t,p=1,maxim; ^ user.cpp:41:22: warning: unused variable ‘maxim’ [-Wunused-variable] long i,j,m,t,p=1,maxim; ^ user.cpp:42:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%ld %ld",&n,&m); ^ user.cpp:46:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%ld",&val); ^ user.cpp:53:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%ld %ld",&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbIncorect0
20ms292kbIncorect0
3Depăşit440kbTime limit exceeded.0
4Depăşit288kbTime limit exceeded.0
5160ms988kbIncorect0
692ms980kbIncorect0
7Depăşit984kbTime limit exceeded.0
8Depăşit980kbTime limit exceeded.0
9Depăşit980kbTime limit exceeded.0
10Depăşit988kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?