Pagini recente » Borderou de evaluare (job #2360803) | Cod sursa (job #2302575) | Cod sursa (job #248301) | Borderou de evaluare (job #2426167) | Borderou de evaluare (job #1776936)
Borderou de evaluare (job #1776936)
Raport evaluator
Compilare:
user.cpp:8:1: warning: ‘typedef’ was ignored in this declaration [enabled by default]
};
^
user.cpp: In function ‘void stergere(unsigned int*)’:
user.cpp:16:22: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset(a,0,sizeof(a));
^
user.cpp: In function ‘void citeste(unsigned int&)’:
user.cpp:27:36: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,dim,stdin);
^
user.cpp:37:36: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,dim,stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:117:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mult.in","r",stdin);
^
user.cpp:118:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mult.out","w",stdout);
^
user.cpp:120:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:125:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 512kb | OK | 5 |
| 2 | 0ms | 480kb | OK | 5 |
| 3 | 8ms | 4372kb | OK | 5 |
| 4 | 12ms | 3640kb | OK | 5 |
| 5 | 24ms | 4348kb | OK | 5 |
| 6 | 36ms | 4244kb | OK | 5 |
| 7 | 28ms | 2912kb | OK | 5 |
| 8 | 44ms | 3552kb | OK | 5 |
| 9 | 76ms | 4396kb | Incorect | 0 |
| 10 | 92ms | 4240kb | OK | 5 |
| 11 | 128ms | 4120kb | OK | 5 |
| 12 | 4ms | 556kb | OK | 5 |
| 13 | 136ms | 2960kb | OK | 5 |
| 14 | 216ms | 3112kb | OK | 5 |
| 15 | 404ms | 4232kb | Incorect | 0 |
| 16 | 396ms | 3380kb | OK | 5 |
| 17 | 528ms | 3124kb | OK | 5 |
| 18 | 24ms | 616kb | Incorect | 0 |
| 19 | 468ms | 3328kb | OK | 5 |
| 20 | 764ms | 3688kb | OK | 5 |
| Punctaj total | 85 |