Pagini recente » Borderou de evaluare (job #419562) | Borderou de evaluare (job #67521) | Borderou de evaluare (job #415409) | Borderou de evaluare (job #1976081) | Borderou de evaluare (job #2302239)
Borderou de evaluare (job #2302239)
Raport evaluator
Compilare:
main.c: In function 'M':
main.c:10:22: warning: 'sizeof' on array function parameter 'c' will return size of 'int (*)[3]' [-Wsizeof-array-argument]
memcpy(a,c,sizeof(c));
^
main.c:4:34: note: declared here
void M(int a[][3],int b[][3],int c[][3])
^
main.c:10:22: warning: argument to 'sizeof' in 'memcpy' call is the same pointer type 'int (*)[3]' as the destination; expected 'int[3]' or an explicit length [-Wsizeof-pointer-memaccess]
memcpy(a,c,sizeof(c));
^
main.c: In function 'main':
main.c:15:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen("kfib.in","r",stdin),freopen("kfib.out","w",stdout),scanf("%d",&n),a[0][1]=a[1][0]=a[1][1]=s[0][0]=s[1][1]=1,memcpy(c,a,sizeof(a));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:15:34: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen("kfib.in","r",stdin),freopen("kfib.out","w",stdout),scanf("%d",&n),a[0][1]=a[1][0]=a[1][1]=s[0][0]=s[1][1]=1,memcpy(c,a,sizeof(a));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:15:65: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
freopen("kfib.in","r",stdin),freopen("kfib.out","w",stdout),scanf("%d",&n),a[0][1]=a[1][0]=a[1][1]=s[0][0]=s[1][1]=1,memcpy(c,a,sizeof(a));
^~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | Incorect | 0 |
4 | 2ms | 131kb | Incorect | 0 |
5 | 2ms | 131kb | Incorect | 0 |
6 | 2ms | 131kb | Incorect | 0 |
7 | 2ms | 131kb | Incorect | 0 |
8 | 2ms | 131kb | Incorect | 0 |
9 | 2ms | 131kb | Incorect | 0 |
10 | 2ms | 131kb | Incorect | 0 |
11 | 2ms | 131kb | Incorect | 0 |
12 | 2ms | 131kb | Incorect | 0 |
13 | 2ms | 131kb | Incorect | 0 |
14 | 2ms | 131kb | Incorect | 0 |
15 | 2ms | 131kb | Incorect | 0 |
16 | 2ms | 131kb | Incorect | 0 |
17 | 2ms | 131kb | Incorect | 0 |
18 | 2ms | 131kb | Incorect | 0 |
19 | 2ms | 131kb | Incorect | 0 |
20 | 2ms | 131kb | Incorect | 0 |
Punctaj total | 0 |