Pagini recente » Borderou de evaluare (job #119820) | Borderou de evaluare (job #227236) | Borderou de evaluare (job #1852515) | Borderou de evaluare (job #1852517) | Borderou de evaluare (job #2642552)
Borderou de evaluare (job #2642552)
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 | 339ms | 393kb | Incorect | 0 |
| 2 | 315ms | 524kb | Incorect | 0 |
| 3 | 260ms | 393kb | Incorect | 0 |
| 4 | 243ms | 262kb | Incorect | 0 |
| 5 | 465ms | 655kb | Incorect | 0 |
| 6 | 481ms | 577kb | Incorect | 0 |
| 7 | 400ms | 262kb | Incorect | 0 |
| 8 | 353ms | 393kb | Incorect | 0 |
| 9 | 692ms | 655kb | Incorect | 0 |
| 10 | 744ms | 655kb | Incorect | 0 |
| 11 | 271ms | 131kb | Incorect | 0 |
| 12 | 721ms | 393kb | Incorect | 0 |
| 13 | 1179ms | 524kb | Incorect | 0 |
| 14 | 1157ms | 655kb | Incorect | 0 |
| 15 | 268ms | 524kb | Incorect | 0 |
| 16 | 657ms | 524kb | Incorect | 0 |
| 17 | 1325ms | 1310kb | Incorect | 0 |
| 18 | 1106ms | 1183kb | Incorect | 0 |
| 19 | 1073ms | 1441kb | Incorect | 0 |
| 20 | 1265ms | 1441kb | Incorect | 0 |
| Punctaj total | 0 |