Pagini recente » Borderou de evaluare (job #761849) | Borderou de evaluare (job #119301) | Borderou de evaluare (job #1196334) | Borderou de evaluare (job #96702) | Borderou de evaluare (job #1196401)
Borderou de evaluare (job #1196401)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
poz[b[i]].push_back(i);
^
user.cpp:21:47: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (vector<int>::iterator it=poz[a[i]].begin();it!=poz[a[i]].end();it++)
^
user.cpp:21:69: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (vector<int>::iterator it=poz[a[i]].begin();it!=poz[a[i]].end();it++)
^
user.cpp:10:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("potriveala.in","r",stdin);
^
user.cpp:11:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("potriveala.out","w",stdout);
^
user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",a); N=strlen(a);
^
user.cpp:13:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",b); M=strlen(b);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 0ms | 268kb | OK | 10 | 10 |
✗ | 2 | 0ms | 268kb | OK | 10 | 10 |
✗ | 3 | 0ms | 268kb | OK | 10 | 10 |
✗ | 4 | 4ms | 272kb | OK | 10 | 10 |
✓ | 5 | Depăşit | 308kb | Time limit exceeded. | 0 | 0 |
✗ | 6 | Depăşit | 356kb | Time limit exceeded. | 0 | 0 |
✗ | 7 | Depăşit | 500kb | Time limit exceeded. | 0 | 0 |
✗ | 8 | Depăşit | 736kb | Time limit exceeded. | 0 | 0 |
✗ | 9 | Depăşit | 1024kb | Time limit exceeded. | 0 |
✗ | 10 | Depăşit | 1280kb | Time limit exceeded. | 0 |
Punctaj total | 40 |