Pagini recente » Borderou de evaluare (job #1401682) | Borderou de evaluare (job #2808891) | Borderou de evaluare (job #2282561) | Borderou de evaluare (job #1619367) | Borderou de evaluare (job #910067)
Borderou de evaluare (job #910067)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:121:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[val[i]].push_back(i);
^
user.cpp:125:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(int ii=0; ii< f[k].size(); ++ii)
^
user.cpp:125:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int ii=0; ii< f[k].size(); ++ii)
^
user.cpp:126:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(int jj=ii+1; jj< f[k].size(); ++jj){
^
user.cpp:126:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int jj=ii+1; jj< f[k].size(); ++jj){
^
user.cpp:128:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int i = f[k][ii];
^
user.cpp:129:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int j = f[k][jj];
^
user.cpp:104:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbpal.in","r",stdin);
^
user.cpp:105:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbpal.out","w",stdout);
^
user.cpp:107:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp:111:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&x,&y);
^
user.cpp:120:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c ",&val[i]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 0ms | 388kb | Incorect | 0 | 0 |
✗ | 2 | 0ms | 404kb | Incorect | 0 | 0 |
✗ | 3 | 0ms | 412kb | Incorect | 0 | 0 |
✗ | 4 | 0ms | 472kb | Incorect | 0 | 0 |
✗ | 5 | 4ms | 572kb | Incorect | 0 | 0 |
✗ | 6 | 72ms | 1328kb | Incorect | 0 |
✗ | 7 | 4ms | 572kb | Incorect | 0 |
✗ | 8 | 72ms | 1328kb | Incorect | 0 |
✗ | 9 | 44ms | 1328kb | Incorect | 0 | 0 |
✗ | 10 | 16ms | 1324kb | Incorect | 0 |
✗ | 11 | 68ms | 1324kb | Incorect | 0 |
✗ | 12 | 0ms | 436kb | Incorect | 0 | 0 |
✗ | 13 | 0ms | 456kb | Incorect | 0 | 0 |
✗ | 14 | 0ms | 512kb | Incorect | 0 | 0 |
✗ | 15 | 0ms | 528kb | Incorect | 0 | 0 |
✗ | 16 | 0ms | 540kb | Incorect | 0 | 0 |
✗ | 17 | 0ms | 556kb | Incorect | 0 | 0 |
✓ | 18 | 64ms | 1324kb | Incorect | 0 | 0 |
✗ | 19 | 8ms | 932kb | Incorect | 0 |
✗ | 20 | 12ms | 1080kb | Incorect | 0 |
✗ | 21 | 28ms | 1328kb | Incorect | 0 |
✗ | 22 | 32ms | 1324kb | Incorect | 0 |
✗ | 23 | 36ms | 1324kb | Incorect | 0 |
✗ | 24 | 44ms | 1328kb | Incorect | 0 | 0 |
✓ | 25 | 76ms | 1324kb | Incorect | 0 |
Punctaj total | 0 |