Borderou de evaluare (job #981671)

Utilizator mipsPavel Mircea mips Data 7 august 2013 18:18:24
Problema Cmmmc Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:69:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] FOR(j,primes.size()) ^ user.cpp:22:38: note: in definition of macro ‘FOR’ #define FOR(i,n) for (int i = 0 ; i< n;i++) ^ user.cpp:102:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] FOR(i,divs.size()) ^ user.cpp:22:38: note: in definition of macro ‘FOR’ #define FOR(i,n) for (int i = 0 ; i< n;i++) ^ user.cpp:131:51: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(fout,"%ld %ld %ld\n",(sum-1)/2+1,ma,mb); ^ user.cpp:131:51: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘int’ [-Wformat=] user.cpp:131:51: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘int’ [-Wformat=] user.cpp:56:20: warning: variable ‘ax’ set but not used [-Wunused-but-set-variable] int res=0,n,nn,ax,nt; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
120ms632kbOK!10
220ms628kbOK!10
320ms628kbOK!10
424ms628kbOK!10
524ms624kbOK!10
620ms628kbOK!10
7Depăşit608kbTime limit exceeded.0
8Depăşit604kbTime limit exceeded.0
9Depăşit612kbTime limit exceeded.0
10Depăşit608kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?