Pagini recente » Borderou de evaluare (job #748859) | Borderou de evaluare (job #1606933) | Borderou de evaluare (job #3173055) | Borderou de evaluare (job #313232) | Borderou de evaluare (job #2138385)
Borderou de evaluare (job #2138385)
Raport evaluator
Compilare:
user.cpp: In function ‘void frecv_and_sum()’:
user.cpp:18:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frecv[0][s[i]]++;
^
user.cpp: In function ‘int main()’:
user.cpp:141:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frS[s[n]]+=suma[n][s[n]];
^
user.cpp:141:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frS[s[n]]+=suma[n][s[n]];
^
user.cpp:142:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fprintf(g,"%c %d\n",s[n],frS[s[n]]);
^
user.cpp:146:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frC[s[n]]+=suma[n][s[n]];
^
user.cpp:146:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frC[s[n]]+=suma[n][s[n]];
^
user.cpp:148:53: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fprintf(g,"%c %d\n",s[n]+32,frC[s[n]]);
^
user.cpp:150:53: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fprintf(g,"%c %d\n",s[n]-32,frC[s[n]]);
^
user.cpp: In function ‘long long int solve(long long int)’:
user.cpp:125:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:130:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld %lld\n",&k,&q);
^
user.cpp:131:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s+1,100002,f);
^
user.cpp:136:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 848kb | Corect | 10 |
2 | 0ms | 856kb | Partial corect | 2 |
3 | 0ms | 940kb | Partial corect | 2 |
4 | 0ms | 964kb | Partial corect | 2 |
5 | 40ms | 3844kb | Partial corect | 2 |
6 | 44ms | 3844kb | Partial corect | 2 |
7 | 48ms | 3840kb | Partial corect | 2 |
8 | 56ms | 3844kb | Partial corect | 2 |
9 | 4ms | 3844kb | Partial corect | 2 |
10 | 4ms | 3840kb | Partial corect | 2 |
11 | 4ms | 1724kb | Partial corect | 2 |
12 | 8ms | 3840kb | Partial corect | 2 |
13 | 80ms | 12048kb | Partial corect | 2 |
14 | 96ms | 18204kb | Partial corect | 2 |
15 | 112ms | 36668kb | Partial corect | 2 |
16 | 152ms | 42828kb | Partial corect | 2 |
17 | 200ms | 44884kb | Partial corect | 2 |
18 | 252ms | 48980kb | Partial corect | 2 |
19 | 260ms | 49764kb | Partial corect | 2 |
Punctaj total | 46 |