Pagini recente » Borderou de evaluare (job #644900) | Borderou de evaluare (job #3354904) | Borderou de evaluare (job #2327092) | Borderou de evaluare (job #644898) | Borderou de evaluare (job #2334895)
Borderou de evaluare (job #2334895)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:44:29: warning: array subscript has type 'char' [-Wchar-subscripts]
sff_arr[0][i]=f[s[i]]; /// nr de ordine al suff de l (1<<0) care inc pe i
^
main.cpp:32:13: warning: unused variable 'elem' [-Wunused-variable]
int k,i,elem,dif,j,pmax,maxi;
^~~~
main.cpp:33:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d%d\n",&n,&k);
^
main.cpp:34:26: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets (s+1,20000,fin);
^
In file included from /usr/include/stdio.h:936:0,
from /usr/include/c++/6/cstdio:42,
from main.cpp:1:
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:34:26:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:261:58: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 86ms | 1572kb | OK | 10 |
| 2 | 99ms | 1572kb | OK | 10 |
| 3 | 101ms | 1441kb | Time limit exceeded | 0 |
| 4 | 16ms | 524kb | OK | 10 |
| 5 | 100ms | 393kb | Time limit exceeded | 0 |
| 6 | 100ms | 393kb | Time limit exceeded | 0 |
| 7 | 18ms | 393kb | Killed by Signal 11 | 0 |
| 8 | 19ms | 262kb | OK | 10 |
| 9 | 30ms | 393kb | Killed by Signal 11 | 0 |
| 10 | 101ms | 393kb | Time limit exceeded | 0 |
| Punctaj total | 40 |