Pagini recente » Borderou de evaluare (job #1439732) | Borderou de evaluare (job #2851765) | Borderou de evaluare (job #666268) | Borderou de evaluare (job #2101989) | Borderou de evaluare (job #2310386)
Borderou de evaluare (job #2310386)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:21:15: warning: array subscript has type 'char' [-Wchar-subscripts]
d[s[i]][i]=i;
^
main.cpp:29: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:29: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:34:27: warning: array subscript has type 'char' [-Wchar-subscripts]
j=d[a[poz]][j+1];
^
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:23: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:26: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 | 43ms | 524kb | OK | 10 |
9 | 48ms | 524kb | OK | 10 |
10 | 48ms | 524kb | OK | 10 |
Punctaj total | 90 |