Pagini recente » Borderou de evaluare (job #340229) | Borderou de evaluare (job #2011934) | Borderou de evaluare (job #2177042) | Borderou de evaluare (job #1175402) | Borderou de evaluare (job #1571306)
Borderou de evaluare (job #1571306)
Raport evaluator
Compilare:
user.cpp: In function ‘bool baza(char*, int&)’:
user.cpp:63:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
b = valoare[s[poz++]];
^
user.cpp: In function ‘bool echivalente(char*, char*)’:
user.cpp:118:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
valoare[variabile[j+1]] = (i & (1 << j)) ? true : false;
^
user.cpp: In function ‘bool potrivireVariabile(char*, char*, int&)’:
user.cpp:143:57: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s1[i] >= 'a' && s1[i] <= 'z' && prezent[s1[i]] == false){
^
user.cpp:144:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
prezent[s1[i]] = true;
^
user.cpp:151:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(prezent[s2[i]] == false)
^
user.cpp: In function ‘int main()’:
user.cpp:33:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d\n", &t);
^
user.cpp:35:28: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s1, 300, fin);
^
user.cpp:39:28: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s2, 300, fin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 452kb | Incorect | 0 |
2 | 0ms | 448kb | OK | 10 |
3 | 0ms | 448kb | Incorect | 0 |
4 | 0ms | 452kb | Incorect | 0 |
5 | 8ms | 452kb | OK | 10 |
6 | 0ms | 448kb | Incorect | 0 |
7 | 0ms | 448kb | Incorect | 0 |
8 | 0ms | 452kb | OK | 10 |
9 | 0ms | 452kb | Incorect | 0 |
10 | 0ms | 444kb | Incorect | 0 |
Punctaj total | 30 |