Pagini recente » Borderou de evaluare (job #1317479) | Borderou de evaluare (job #402797) | Borderou de evaluare (job #2741963) | Borderou de evaluare (job #2102936) | Borderou de evaluare (job #1606884)
Borderou de evaluare (job #1606884)
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:56: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:57: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:58: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 |
1 | 0ms | 452kb | OK | 10 |
2 | 0ms | 444kb | OK | 10 |
3 | 4ms | 444kb | OK | 10 |
4 | 0ms | 444kb | OK | 10 |
5 | 20ms | 444kb | OK | 10 |
6 | Depăşit | 444kb | Time limit exceeded. | 0 |
7 | Depăşit | 476kb | Time limit exceeded. | 0 |
8 | Depăşit | 412kb | Time limit exceeded. | 0 |
9 | Depăşit | 468kb | Time limit exceeded. | 0 |
10 | 28ms | 444kb | OK | 10 |
Punctaj total | 60 |