Borderou de evaluare (job #1519900)

Utilizator sirbu12Sirbu Claudiu sirbu12 Data 8 noiembrie 2015 00:03:56
Problema Densitate Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:36: warning: operation on ‘j’ may be undefined [-Wsequence-point] for(j=i+i; j<=n; j=j=j+i) ^ user.cpp:32:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%ld\n",nr); ^ user.cpp:11:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%lld" , &n); ^ user.cpp:21:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%lld" , &x); ^ user.cpp:24:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%lld%lld" , &x1,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms440kbOK10
28ms436kbOK10
320ms476kbOK10
424ms492kbOK10
5Depăşit488kbTime limit exceeded.0
6Depăşit808kbTime limit exceeded.0
7Depăşit968kbTime limit exceeded.0
8Depăşit2180kbTime limit exceeded.0
9Depăşit2296kbTime limit exceeded.0
10Depăşit2376kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?