Pagini recente » Borderou de evaluare (job #1509439) | Borderou de evaluare (job #590745) | Borderou de evaluare (job #2835718) | Borderou de evaluare (job #2507568) | Borderou de evaluare (job #2161753)
Borderou de evaluare (job #2161753)
Raport evaluator
Compilare:
user.cpp: In function ‘int solve_first()’:
user.cpp:19:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(ap[ch[j]]!=0) ++bad;
^
user.cpp:20:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ap[ch[j]]=1;
^
user.cpp:22:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(int j=i;j<min(i+per,n);j++) ap[ch[j]]=0;
^
user.cpp: In function ‘int solve_second(char)’:
user.cpp:36:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(ap[ch[j]]!=0) ++bad;
^
user.cpp:37:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ap[ch[j]]=1;
^
user.cpp:39:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(int j=i;j<min(n,i+per);j++) ap[ch[j]]=0;
^
user.cpp: In function ‘int main()’:
user.cpp:51:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(ap2[ch[i]]==0) dif.pb(ch[i]);
^
user.cpp:52:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ap2[ch[i]]=1;
^
user.cpp:55:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<dif.size();i++)
^
user.cpp:45:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("smooth2.in","r",stdin);
^
user.cpp:46:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("smooth2.out","w",stdout);
^
user.cpp:47:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",ch);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 4ms | 2336kb | OK! | 0 | 0 |
| 2 | 4ms | 2368kb | OK! | 0 | 0 |
| 3 | 4ms | 2364kb | OK! | 0 | 0 |
| 4 | 4ms | 2296kb | OK! | 0 | 0 |
| 5 | 4ms | 2324kb | OK! | 3 | 3 |
| 6 | 4ms | 2296kb | Raspuns gresit! | 0 | 0 |
| 7 | 4ms | 2320kb | OK! | 2 | 2 |
| 8 | 4ms | 2292kb | Raspuns gresit! | 0 | 0 |
| 9 | 4ms | 2348kb | OK! | 3 | 3 |
| 10 | 4ms | 2296kb | OK! | 3 | 3 |
| 11 | 4ms | 2348kb | OK! | 4 | 4 |
| 12 | 4ms | 2324kb | Raspuns gresit! | 0 | 0 |
| 13 | 4ms | 2480kb | Raspuns gresit! | 0 |
| 14 | 4ms | 2264kb | Raspuns gresit! | 0 |
| 15 | 4ms | 2428kb | Raspuns gresit! | 0 |
| 16 | 4ms | 2476kb | OK! | 5 |
| 17 | 4ms | 2400kb | Raspuns gresit! | 0 |
| 18 | 4ms | 2428kb | OK! | 5 | 0 |
| 19 | 4ms | 2448kb | Raspuns gresit! | 0 |
| 20 | 4ms | 2428kb | Raspuns gresit! | 0 |
| Punctaj total | 15 |