Pagini recente » Borderou de evaluare (job #2206614) | Borderou de evaluare (job #2173155) | Borderou de evaluare (job #1065699) | Borderou de evaluare (job #637649) | Borderou de evaluare (job #910098)
Borderou de evaluare (job #910098)
Raport evaluator
Compilare:
user.cpp: In function ‘bool p(int, int)’:
user.cpp:106:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(x!=q)
^
user.cpp:110:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(y!=q)
^
user.cpp: In function ‘int main()’:
user.cpp:136:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[val[i]].push_back(i);
^
user.cpp:140:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(int ii=0; ii< f[k].size(); ++ii)
^
user.cpp:140:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int ii=0; ii< f[k].size(); ++ii)
^
user.cpp:141:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(int jj=ii+1; jj< f[k].size(); ++jj){
^
user.cpp:141:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int jj=ii+1; jj< f[k].size(); ++jj){
^
user.cpp:143:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int i = f[k][ii];
^
user.cpp:144:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int j = f[k][jj];
^
user.cpp:119: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:120: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:122:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp:126: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:135: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 | 416kb | OK | 4 | 4 |
✗ | 2 | 0ms | 512kb | OK | 4 | 4 |
✗ | 3 | 0ms | 660kb | OK | 4 | 4 |
✗ | 4 | 8ms | 1704kb | OK | 4 | 4 |
✗ | 5 | 68ms | 4188kb | OK | 4 | 0 |
✗ | 6 | Depăşit | 3360kb | Time limit exceeded. | 0 |
✗ | 7 | 136ms | 5108kb | OK | 4 |
✗ | 8 | Depăşit | 2880kb | Time limit exceeded. | 0 |
✗ | 9 | Depăşit | 11172kb | Time limit exceeded. | 0 | 0 |
✗ | 10 | 236ms | 1968kb | OK | 4 |
✗ | 11 | Depăşit | 3628kb | Time limit exceeded. | 0 |
✗ | 12 | 0ms | 628kb | OK | 4 | 4 |
✗ | 13 | 0ms | 656kb | OK | 4 | 4 |
✗ | 14 | 4ms | 792kb | OK | 4 | 4 |
✗ | 15 | 4ms | 800kb | OK | 4 | 4 |
✗ | 16 | 4ms | 748kb | OK | 4 | 4 |
✗ | 17 | 8ms | 832kb | OK | 4 | 4 |
✓ | 18 | Depăşit | 3856kb | Time limit exceeded. | 0 | 0 |
✗ | 19 | 76ms | 1376kb | OK | 4 |
✗ | 20 | 136ms | 1736kb | OK | 4 |
✗ | 21 | 1220ms | 7588kb | OK | 4 |
✗ | 22 | Depăşit | 10020kb | Time limit exceeded. | 0 |
✗ | 23 | Depăşit | 10832kb | Time limit exceeded. | 0 |
✗ | 24 | Depăşit | 12164kb | Time limit exceeded. | 0 | 0 |
✓ | 25 | Depăşit | 2904kb | Time limit exceeded. | 0 |
Punctaj total | 40 |