Pagini recente » Borderou de evaluare (job #209816) | Borderou de evaluare (job #3165884) | Borderou de evaluare (job #819264) | Borderou de evaluare (job #1596359) | Borderou de evaluare (job #2642558)
Borderou de evaluare (job #2642558)
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:37: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:38: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:40: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:50: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 | 181ms | 1966kb | Incorect | 0 |
2 | 179ms | 2097kb | Incorect | 0 |
3 | 167ms | 1990kb | Incorect | 0 |
4 | 158ms | 1966kb | Incorect | 0 |
5 | 216ms | 2228kb | Incorect | 0 |
6 | 227ms | 2228kb | Incorect | 0 |
7 | 160ms | 1835kb | Incorect | 0 |
8 | 179ms | 1966kb | Incorect | 0 |
9 | 263ms | 2097kb | Incorect | 0 |
10 | 241ms | 2228kb | Incorect | 0 |
11 | 138ms | 1835kb | Incorect | 0 |
12 | 214ms | 1835kb | Incorect | 0 |
13 | 321ms | 2097kb | Incorect | 0 |
14 | 341ms | 2228kb | Incorect | 0 |
15 | 185ms | 1835kb | Incorect | 0 |
16 | 206ms | 1966kb | Incorect | 0 |
17 | 324ms | 2359kb | Incorect | 0 |
18 | 403ms | 2359kb | Incorect | 0 |
19 | 359ms | 2359kb | Incorect | 0 |
20 | 359ms | 2359kb | Incorect | 0 |
Punctaj total | 0 |