Borderou de evaluare (job #1280472)

Utilizator danyro364Savu Ioan Daniel danyro364 Data 1 decembrie 2014 23:36:53
Problema Noname2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:21:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘long long int*’ [-Wformat=] fscanf(f,"%ld%ld",&n,&k); ^ user.cpp:21:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%ld%ld",&n,&k); ^ user.cpp:24:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld",a+i); ^ user.cpp:20:16: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] long i,j,n,poz,nr=1; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbOK10
20ms264kbIncorect0
30ms272kbIncorect0
48ms288kbIncorect0
5Depăşit2572kbTime limit exceeded.0
6Depăşit2572kbTime limit exceeded.0
7Depăşit2576kbTime limit exceeded.0
8Depăşit2576kbTime limit exceeded.0
9Depăşit2572kbTime limit exceeded.0
10Depăşit2580kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?