Pagini recente » Borderou de evaluare (job #2765929) | Borderou de evaluare (job #1061348) | Borderou de evaluare (job #647829) | Borderou de evaluare (job #2566349) | Borderou de evaluare (job #2310398)
Borderou de evaluare (job #2310398)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:18:11: warning: array subscript has type 'char' [-Wchar-subscripts]
d[s[n]][n]=n;
^
main.cpp:22:15: warning: array subscript has type 'char' [-Wchar-subscripts]
d[s[i]][i]=i;
^
main.cpp:30:21: warning: array subscript has type 'char' [-Wchar-subscripts]
for(i=d[a[1]][1];i<=n-l+1&&i!=0;i=d[a[1]][i+1]){
^
main.cpp:30:49: warning: array subscript has type 'char' [-Wchar-subscripts]
for(i=d[a[1]][1];i<=n-l+1&&i!=0;i=d[a[1]][i+1]){
^
main.cpp:32:50: warning: array subscript has type 'char' [-Wchar-subscripts]
for (j=i,poz=2;j && poz<=l;j=d[a[poz]][j+1],poz++){}
^
main.cpp:16:25: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets (s+1,1005,fin);
^
main.cpp:24:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d\n",&m);
^
main.cpp:27:29: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets (a+1,1005,fin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 524kb | OK | 10 |
2 | 3ms | 524kb | OK | 10 |
3 | 4ms | 524kb | OK | 10 |
4 | 5ms | 524kb | OK | 10 |
5 | 16ms | 524kb | OK | 10 |
6 | 9ms | 524kb | OK | 10 |
7 | 53ms | 524kb | Time limit exceeded | 0 |
8 | 34ms | 524kb | OK | 10 |
9 | 46ms | 524kb | OK | 10 |
10 | 48ms | 524kb | OK | 10 |
Punctaj total | 90 |