Pagini recente » Borderou de evaluare (job #682416) | Borderou de evaluare (job #1198671) | Borderou de evaluare (job #915327) | Borderou de evaluare (job #2063087) | Borderou de evaluare (job #2302235)
Borderou de evaluare (job #2302235)
Raport evaluator
Compilare:
main.c: In function 'M':
main.c:6:22: warning: 'sizeof' on array function parameter 'c' will return size of 'int (*)[3]' [-Wsizeof-array-argument]
memset(c,0,sizeof(c));
^
main.c:4:34: note: declared here
void M(int a[][3],int b[][3],int c[][3])
^
main.c:6:22: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset(c,0,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 |