Pagini recente » Borderou de evaluare (job #2552358) | Borderou de evaluare (job #1840029) | Borderou de evaluare (job #428840) | Borderou de evaluare (job #271105) | Borderou de evaluare (job #2094797)
Borderou de evaluare (job #2094797)
Raport evaluator
Compilare:
user.cpp: In function ‘void Inmultire(int*, int*)’:
user.cpp:19: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 ‘int main()’:
user.cpp:58:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ex.in","r",stdin);
^
user.cpp:59:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ex.out","w",stdout);
^
user.cpp:61:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&k,&p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 5452kb | OK | 10 |
2 | 8ms | 5452kb | OK | 10 |
3 | 8ms | 5452kb | OK | 10 |
4 | 8ms | 5456kb | OK | 10 |
5 | 8ms | 5452kb | OK | 10 |
6 | 8ms | 5448kb | OK | 10 |
7 | 8ms | 5456kb | OK | 10 |
8 | 8ms | 5456kb | OK | 10 |
9 | 12ms | 5452kb | OK | 10 |
10 | 8ms | 5456kb | OK | 10 |
Punctaj total | 100 |