Pagini recente » Borderou de evaluare (job #12329) | Borderou de evaluare (job #40027) | Borderou de evaluare (job #2237569) | Borderou de evaluare (job #1954892) | Borderou de evaluare (job #2382038)
Borderou de evaluare (job #2382038)
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 | 17ms | 524kb | OK | 10 |
6 | 8ms | 524kb | OK | 10 |
7 | 38ms | 524kb | OK | 10 |
8 | 29ms | 524kb | OK | 10 |
9 | 50ms | 524kb | Time limit exceeded | 0 |
10 | 49ms | 524kb | OK | 10 |
Punctaj total | 90 |