Pagini recente » Borderou de evaluare (job #1818360) | Borderou de evaluare (job #2019403) | Borderou de evaluare (job #116847) | Borderou de evaluare (job #2903747) | Borderou de evaluare (job #910063)
Borderou de evaluare (job #910063)
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: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 | 408kb | Incorect | 0 | 0 |
✗ | 3 | 0ms | 420kb | Incorect | 0 | 0 |
✗ | 4 | 0ms | 480kb | Incorect | 0 | 0 |
✗ | 5 | 0ms | 572kb | Incorect | 0 | 0 |
✗ | 6 | 4ms | 1268kb | Incorect | 0 |
✗ | 7 | 0ms | 568kb | Incorect | 0 |
✗ | 8 | 4ms | 1272kb | Incorect | 0 |
✗ | 9 | 4ms | 1272kb | Incorect | 0 | 0 |
✗ | 10 | 4ms | 1272kb | Incorect | 0 |
✗ | 11 | 4ms | 1268kb | Incorect | 0 |
✗ | 12 | 0ms | 436kb | Incorect | 0 | 0 |
✗ | 13 | 0ms | 460kb | Incorect | 0 | 0 |
✗ | 14 | 0ms | 516kb | Incorect | 0 | 0 |
✗ | 15 | 0ms | 536kb | Incorect | 0 | 0 |
✗ | 16 | 0ms | 552kb | Incorect | 0 | 0 |
✗ | 17 | 0ms | 560kb | Incorect | 0 | 0 |
✓ | 18 | 4ms | 1268kb | Incorect | 0 | 0 |
✗ | 19 | 4ms | 904kb | Incorect | 0 |
✗ | 20 | 4ms | 1044kb | Incorect | 0 |
✗ | 21 | 4ms | 1272kb | Incorect | 0 |
✗ | 22 | 4ms | 1268kb | Incorect | 0 |
✗ | 23 | 4ms | 1264kb | Incorect | 0 |
✗ | 24 | 4ms | 1264kb | Incorect | 0 | 0 |
✓ | 25 | 4ms | 1268kb | Incorect | 0 |
Punctaj total | 0 |