Pagini recente » Borderou de evaluare (job #2457885) | Borderou de evaluare (job #3161838) | Borderou de evaluare (job #2972957) | Borderou de evaluare (job #1378785) | Borderou de evaluare (job #2161755)
Borderou de evaluare (job #2161755)
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 | 2352kb | OK! | 0 | 0 |
| 2 | 4ms | 2328kb | OK! | 0 | 0 |
| 3 | 4ms | 2328kb | OK! | 0 | 0 |
| 4 | 4ms | 2368kb | OK! | 0 | 0 |
| 5 | 4ms | 2340kb | OK! | 3 | 3 |
| 6 | 4ms | 2368kb | Raspuns gresit! | 0 | 0 |
| 7 | 4ms | 2292kb | OK! | 2 | 2 |
| 8 | 4ms | 2432kb | Raspuns gresit! | 0 | 0 |
| 9 | 4ms | 2352kb | OK! | 3 | 3 |
| 10 | 4ms | 2324kb | OK! | 3 | 3 |
| 11 | 4ms | 2336kb | OK! | 4 | 4 |
| 12 | 4ms | 2340kb | OK! | 5 | 0 |
| 13 | 24ms | 2420kb | Raspuns gresit! | 0 |
| 14 | 4ms | 2288kb | OK! | 5 |
| 15 | 28ms | 2428kb | Raspuns gresit! | 0 |
| 16 | 32ms | 2348kb | OK! | 5 |
| 17 | 28ms | 2360kb | Raspuns gresit! | 0 |
| 18 | 32ms | 2424kb | OK! | 5 | 0 |
| 19 | 20ms | 2452kb | Raspuns gresit! | 0 |
| 20 | 20ms | 2412kb | Raspuns gresit! | 0 |
| Punctaj total | 15 |