Pagini recente » Borderou de evaluare (job #2745773) | Borderou de evaluare (job #63244) | Borderou de evaluare (job #1941608) | Borderou de evaluare (job #1050739) | Borderou de evaluare (job #1824074)
Borderou de evaluare (job #1824074)
Raport evaluator
Compilare:
user.c: In function ‘citire’:
user.c:6:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long long int *’ [-Wformat=]
scanf("%d %d",a,b);
^
user.c:6:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long long int *’ [-Wformat=]
user.c: In function ‘main’:
user.c:57:5: warning: passing argument 1 of ‘citire’ from incompatible pointer type [enabled by default]
citire(&a,&b);
^
user.c:4:6: note: expected ‘long long int *’ but argument is of type ‘int *’
void citire(long long *a,long long *b)
^
user.c:57:5: warning: passing argument 2 of ‘citire’ from incompatible pointer type [enabled by default]
citire(&a,&b);
^
user.c:4:6: note: expected ‘long long int *’ but argument is of type ‘int *’
void citire(long long *a,long long *b)
^
user.c:54:13: warning: unused variable ‘i’ [-Wunused-variable]
int a,b,i,prim1,prim2 = 0;
^
user.c: In function ‘citire’:
user.c:6:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",a,b);
^
user.c: In function ‘main’:
user.c:55:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("difprim.in","r",stdin);
^
user.c:56:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("difprim.out","w",stdout);
^
user.c: In function ‘afisare’:
user.c:40:24: warning: ‘prevPrim’ may be used uninitialized in this function [-Wmaybe-uninitialized]
*prim1 = prevPrim;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 0ms | 360kb | OK | 10 |
5 | 52ms | 2212kb | OK | 10 |
6 | 320ms | 7988kb | OK | 10 |
7 | Depăşit | 9056kb | Time limit exceeded. | 0 |
8 | 140ms | 4080kb | OK | 10 |
9 | 348ms | 8196kb | OK | 10 |
10 | Depăşit | 10008kb | Time limit exceeded. | 0 |
Punctaj total | 80 |