Pagini recente » Borderou de evaluare (job #3197650) | Borderou de evaluare (job #666811) | Borderou de evaluare (job #2312609) | Borderou de evaluare (job #1810742) | Borderou de evaluare (job #2160107)
Borderou de evaluare (job #2160107)
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:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(int j=i;j<i+per;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 | 2296kb | OK! | 0 | 0 |
✓ | 2 | 4ms | 2340kb | OK! | 0 | 0 |
✓ | 3 | 4ms | 2372kb | OK! | 0 | 0 |
✓ | 4 | 4ms | 2432kb | OK! | 0 | 0 |
✗ | 5 | 4ms | 2432kb | OK! | 3 | 3 |
✗ | 6 | 4ms | 2336kb | Raspuns gresit! | 0 | 0 |
✗ | 7 | 4ms | 2388kb | OK! | 2 | 2 |
✗ | 8 | 4ms | 2308kb | Raspuns gresit! | 0 | 0 |
✗ | 9 | 4ms | 2376kb | OK! | 3 | 3 |
✗ | 10 | 4ms | 2336kb | OK! | 3 | 3 |
✗ | 11 | 4ms | 2384kb | OK! | 4 | 4 |
✗ | 12 | 4ms | 2352kb | OK! | 5 | 0 |
✗ | 13 | 24ms | 2428kb | Raspuns gresit! | 0 |
✗ | 14 | 4ms | 2340kb | OK! | 5 |
✗ | 15 | 4ms | 2072kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 16 | 32ms | 2436kb | OK! | 5 |
✗ | 17 | 4ms | 2056kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 18 | 4ms | 2156kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
✗ | 19 | 20ms | 2440kb | Raspuns gresit! | 0 |
✗ | 20 | 20ms | 2412kb | Raspuns gresit! | 0 |
Punctaj total | 15 |