Pagini recente » Borderou de evaluare (job #1972984) | Borderou de evaluare (job #3310386) | Borderou de evaluare (job #968999) | Borderou de evaluare (job #2465267) | Borderou de evaluare (job #2007743)
Borderou de evaluare (job #2007743)
Raport evaluator
Compilare:
user.cpp: In function ‘void Suffix()’:
user.cpp:26:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(i = 1; i <= N; ++i) v[ s[i-1] ].push_back(i);
^
user.cpp:24:13: warning: unused variable ‘t’ [-Wunused-variable]
int i,j,t,k,p,idx;
^
user.cpp:24:17: warning: unused variable ‘p’ [-Wunused-variable]
int i,j,t,k,p,idx;
^
user.cpp: In function ‘bool good(int)’:
user.cpp:76:38: warning: operation on ‘cnt’ may be undefined [-Wsequence-point]
cnt = (d[i] >= f ? ++cnt : 1);
^
user.cpp: In function ‘int main()’:
user.cpp:89: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);
^
user.cpp:90:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%s",s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 60ms | 1788kb | OK | 10 |
| 2 | 60ms | 1788kb | OK | 10 |
| 3 | 60ms | 1784kb | OK | 10 |
| 4 | 12ms | 800kb | OK | 10 |
| 5 | 52ms | 1776kb | OK | 10 |
| 6 | 52ms | 1776kb | OK | 10 |
| 7 | 0ms | 560kb | OK | 10 |
| 8 | 0ms | 564kb | OK | 10 |
| 9 | 0ms | 568kb | OK | 10 |
| 10 | 40ms | 1528kb | OK | 10 |
| Punctaj total | 100 |