Pagini recente » Borderou de evaluare (job #1191794) | Borderou de evaluare (job #1338033) | Borderou de evaluare (job #2560319) | Borderou de evaluare (job #2737710) | Borderou de evaluare (job #2165811)
Borderou de evaluare (job #2165811)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:18:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(int i=0;i<n;i++) ap[ch[i]]++;
^
user.cpp:19:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(char x='a';x<='z';x++) if(ap[x]!=0) dd.pb(mp(ap[x],x));
^
user.cpp:19:58: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(char x='a';x<='z';x++) if(ap[x]!=0) dd.pb(mp(ap[x],x));
^
user.cpp: In function ‘int try_again(int)’:
user.cpp:29:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(good[ch[j]])
^
user.cpp:31:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(apt[ch[j]]) ++bads;
^
user.cpp:32:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
apt[ch[j]]=1;
^
user.cpp:36:50: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(int j=i;j<min(n,i+per);j++) apt[ch[j]]=0;
^
user.cpp: In function ‘void solve()’:
user.cpp:45:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
good[dd[i].second]=1;
^
user.cpp: In function ‘int main()’:
user.cpp:52: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:53: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: In function ‘void citire()’:
user.cpp:16: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 | 2332kb | OK! | 0 | 0 |
| 2 | 4ms | 2236kb | OK! | 0 | 0 |
| 3 | 4ms | 2336kb | OK! | 0 | 0 |
| 4 | 4ms | 2396kb | OK! | 0 | 0 |
| 5 | 4ms | 2300kb | OK! | 3 | 3 |
| 6 | 4ms | 2380kb | Raspuns gresit! | 0 | 0 |
| 7 | 4ms | 2232kb | OK! | 2 | 2 |
| 8 | 4ms | 2304kb | Raspuns gresit! | 0 | 0 |
| 9 | 4ms | 2300kb | OK! | 3 | 3 |
| 10 | 4ms | 2304kb | OK! | 3 | 3 |
| 11 | 4ms | 2388kb | OK! | 4 | 4 |
| 12 | 4ms | 2280kb | Raspuns gresit! | 0 | 0 |
| 13 | 20ms | 2484kb | Raspuns gresit! | 0 |
| 14 | 4ms | 2240kb | Raspuns gresit! | 0 |
| 15 | 24ms | 2436kb | Raspuns gresit! | 0 |
| 16 | 28ms | 2412kb | OK! | 5 |
| 17 | 24ms | 2480kb | Raspuns gresit! | 0 |
| 18 | 32ms | 2456kb | OK! | 5 | 0 |
| 19 | 16ms | 2376kb | Raspuns gresit! | 0 |
| 20 | 16ms | 2496kb | Raspuns gresit! | 0 |
| Punctaj total | 15 |