Pagini recente » Borderou de evaluare (job #504215) | Borderou de evaluare (job #1488449) | Borderou de evaluare (job #2252303) | Borderou de evaluare (job #2857776) | Borderou de evaluare (job #1496739)
Borderou de evaluare (job #1496739)
Raport evaluator
Compilare:
user.cpp: In function ‘bool element()’:
user.cpp:41:43: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else {k=v[s[p]];advance();p+=1;}
^
user.cpp: In function ‘int main()’:
user.cpp:83:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[c]=!v[c];
^
user.cpp:83:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[c]=!v[c];
^
user.cpp:76:20: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,2010,f);
^
user.cpp:77:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d\n",&n);
^
user.cpp:82:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%c",&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 0ms | 276kb | OK | 10 |
5 | 0ms | 276kb | OK | 10 |
6 | 0ms | 276kb | OK | 10 |
7 | 0ms | 272kb | OK | 10 |
8 | 0ms | 272kb | OK | 10 |
9 | 0ms | 272kb | OK | 10 |
10 | 0ms | 268kb | OK | 10 |
Punctaj total | 100 |