Pagini recente » Borderou de evaluare (job #871348) | Borderou de evaluare (job #1895781) | Borderou de evaluare (job #124067) | Borderou de evaluare (job #2117764) | Borderou de evaluare (job #2642554)
Borderou de evaluare (job #2642554)
Raport evaluator
Compilare:
main.cpp: In function 'void desc(long long int, long long int, long long int*)':
main.cpp:21:28: warning: 'sizeof' on array function parameter 'v' will return size of 'long long int*' [-Wsizeof-array-argument]
memset(v , 0 , sizeof(v));
^
main.cpp:19:51: note: declared here
void desc(long long x , long long p , long long v[])
^
main.cpp:21:26: 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(v , 0 , sizeof(v));
^
main.cpp: In function 'int main()':
main.cpp:31:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("jap2.in" , "r" , stdin);
^
main.cpp:32:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("jap2.out" , "w" , stdout);
^
main.cpp:34:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld" , &p , &q);
^
main.cpp:40:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld" , &a , &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 328ms | 1179kb | Incorect | 0 |
2 | 321ms | 1310kb | Incorect | 0 |
3 | 224ms | 1179kb | Incorect | 0 |
4 | 285ms | 1048kb | Incorect | 0 |
5 | 539ms | 1310kb | Incorect | 0 |
6 | 485ms | 1441kb | Incorect | 0 |
7 | 373ms | 1048kb | Incorect | 0 |
8 | 360ms | 1179kb | Incorect | 0 |
9 | 601ms | 1310kb | Incorect | 0 |
10 | 793ms | 1310kb | Incorect | 0 |
11 | 278ms | 1048kb | Incorect | 0 |
12 | 734ms | 1134kb | Incorect | 0 |
13 | 1226ms | 1310kb | Incorect | 0 |
14 | 1209ms | 1310kb | Incorect | 0 |
15 | 220ms | 1048kb | Incorect | 0 |
16 | 530ms | 1179kb | Incorect | 0 |
17 | 1304ms | 1441kb | Incorect | 0 |
18 | 1283ms | 1572kb | Incorect | 0 |
19 | 1068ms | 1572kb | Incorect | 0 |
20 | 1281ms | 1572kb | Incorect | 0 |
Punctaj total | 0 |