Borderou de evaluare (job #1606841)

Utilizator LurchssLaurentiu Duma Lurchss Data 20 februarie 2016 16:53:05
Problema Numere 6 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int prim(int)’: user.cpp:13:15: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(x%2==0 && x>2 || x<2) ^ user.cpp: In function ‘int main()’: user.cpp:51:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numere6.in","r",stdin); ^ user.cpp:52:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numere6.out","w",stdout); ^ user.cpp:53:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms472kbOK10
20ms524kbOK10
34msDepăşitMemory limit exceeded.0
44msDepăşitMemory limit exceeded.0
524msDepăşitMemory limit exceeded.0
648msDepăşitMemory limit exceeded.0
748msDepăşitMemory limit exceeded.0
848msDepăşitMemory limit exceeded.0
948msDepăşitMemory limit exceeded.0
1032msDepăşitMemory limit exceeded.0
Punctaj total20

Ceva nu functioneaza?