Pagini recente » Borderou de evaluare (job #1101871) | Borderou de evaluare (job #3291672) | Borderou de evaluare (job #2966787) | Borderou de evaluare (job #1829889) | Borderou de evaluare (job #2233579)
Borderou de evaluare (job #2233579)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fr[str2[i]]++;
^
user.cpp:34:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(fr[str2[i]] == 1) {
^
user.cpp:42:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fr1[str1[i]]++;
^
user.cpp:43:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(fr1[str1[i]] == fr[str1[i]]) {
^
user.cpp:43:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(fr1[str1[i]] == fr[str1[i]]) {
^
user.cpp:47:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(cur == let.size()) {
~~~~^~~~~~~~~~~~~
user.cpp:61:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sp[i][str1[i]]++;
^
user.cpp:80:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(fr[str1[j]]) {
^
user.cpp:89:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fr1[str1[deq.front()]]--;
^
user.cpp:95:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < sol.size(); i++) {
~~^~~~~~~~~~~~
user.cpp:27:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d " ,&type);
^
user.cpp:28:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%s %s " ,str1 + 1,str2 + 1);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1328kb | OK! | 3 |
| 2 | 0ms | 1332kb | OK! | 3 |
| 3 | 0ms | 1328kb | OK! | 3 |
| 4 | 0ms | 1332kb | OK! | 3 |
| 5 | 0ms | 1332kb | OK! | 3 |
| 6 | 0ms | 1332kb | OK! | 3 |
| 7 | 0ms | 1376kb | OK! | 3 |
| 8 | 0ms | 1372kb | OK! | 3 |
| 9 | 0ms | 3604kb | OK! | 3 |
| 10 | 0ms | 3604kb | OK! | 3 |
| 11 | 0ms | 3380kb | OK! | 2 |
| 12 | 0ms | 3384kb | OK! | 2 |
| 13 | 0ms | 3380kb | Wrong answer! | 0 |
| 14 | 0ms | 3384kb | Wrong answer! | 0 |
| 15 | 0ms | 3384kb | Wrong answer! | 0 |
| 16 | 0ms | 3388kb | Wrong answer! | 0 |
| 17 | 0ms | 3420kb | Killed by signal 11(SIGSEGV). | 0 |
| 18 | 0ms | 3436kb | Wrong answer! | 0 |
| 19 | 32ms | 12004kb | Wrong answer! | 0 |
| 20 | 32ms | 12324kb | Wrong answer! | 0 |
| 21 | 52ms | 12084kb | Wrong answer! | 0 |
| 22 | 36ms | 12084kb | Wrong answer! | 0 |
| 23 | 32ms | 12088kb | Wrong answer! | 0 |
| 24 | 32ms | 12084kb | Wrong answer! | 0 |
| 25 | 32ms | 12088kb | Wrong answer! | 0 |
| 26 | 48ms | 12092kb | OK! | 4 |
| 27 | 28ms | 12096kb | OK! | 4 |
| 28 | 44ms | 12096kb | OK! | 4 |
| 29 | 28ms | 12096kb | OK! | 4 |
| 30 | 48ms | 12092kb | OK! | 4 |
| Punctaj total | 54 |