Pagini recente » Cod sursa (job #2637592) | Cod sursa (job #1095703) | Cod sursa (job #232748) | Cod sursa (job #1994385) | Borderou de evaluare (job #1696057)
Borderou de evaluare (job #1696057)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cat1[c][0]++;
^
user.cpp:39:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cat1[c][i]=cat1[c][0];
^
user.cpp:39:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cat1[c][i]=cat1[c][0];
^
user.cpp:40:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
A[c][cat1[c][0]]=i;
^
user.cpp:40:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
A[c][cat1[c][0]]=i;
^
user.cpp:45:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ap[c]++;
^
user.cpp:46:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
aux=ap[c];
^
user.cpp:47:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[i].first=A[c][aux];
^
user.cpp:31: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:32: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:33: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 | 852kb | OK | 10 |
| 2 | 0ms | 840kb | OK | 10 |
| 3 | 0ms | 888kb | OK | 10 |
| 4 | 0ms | 1244kb | OK | 10 |
| 5 | 8ms | 1640kb | OK | 10 |
| 6 | 12ms | 1564kb | OK | 10 |
| 7 | 12ms | 1808kb | OK | 10 |
| 8 | Depăşit | 1604kb | Time limit exceeded. | 0 |
| 9 | 12ms | 1788kb | OK | 10 |
| 10 | 32ms | 1800kb | OK | 10 |
| Punctaj total | 90 |