Pagini recente » Cod sursa (job #194975) | Cod sursa (job #1801918) | Cod sursa (job #1400732) | Cod sursa (job #2785758) | Borderou de evaluare (job #1696020)
Borderou de evaluare (job #1696020)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:37:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cat1[c][0]++;
^
user.cpp:38:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cat1[c][i]=cat1[c][0];
^
user.cpp:38:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cat1[c][i]=cat1[c][0];
^
user.cpp:39:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
A[c][cat1[c][0]]=i;
^
user.cpp:39:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
A[c][cat1[c][0]]=i;
^
user.cpp:44:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cat2[c][0]++;
^
user.cpp:45:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
aux=cat2[c][i]=cat2[c][0];
^
user.cpp:45:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
aux=cat2[c][i]=cat2[c][0];
^
user.cpp:46:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[i].first=A[c][aux];
^
user.cpp:30:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.in","r",stdin);
^
user.cpp:31:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.out","w",stdout);
^
user.cpp:32:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n%s",a+1,b+1);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 848kb | OK | 10 |
| 2 | 0ms | 844kb | OK | 10 |
| 3 | 0ms | 924kb | OK | 10 |
| 4 | 0ms | 1572kb | OK | 10 |
| 5 | 8ms | 2136kb | OK | 10 |
| 6 | 12ms | 2080kb | OK | 10 |
| 7 | 12ms | 2832kb | OK | 10 |
| 8 | Depăşit | 2116kb | Time limit exceeded. | 0 |
| 9 | 12ms | 2704kb | OK | 10 |
| 10 | 40ms | 3544kb | OK | 10 |
| Punctaj total | 90 |