Pagini recente » Borderou de evaluare (job #448136) | Borderou de evaluare (job #488043) | Borderou de evaluare (job #86261) | Borderou de evaluare (job #811981) | Borderou de evaluare (job #1233763)
Borderou de evaluare (job #1233763)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[ch[1][strlen(ch[1])-1]] = 1;
^
user.cpp:21:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
poz[ch[1][strlen(ch[1])-1]]=1;
^
user.cpp:23:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (d[ch[i][strlen(ch[i])-1]] < 1+d[ch[i][0]]){
^
user.cpp:23:53: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (d[ch[i][strlen(ch[i])-1]] < 1+d[ch[i][0]]){
^
user.cpp:24:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[ch[i][strlen(ch[i])-1]]=1+d[ch[i][0]];
^
user.cpp:24:51: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[ch[i][strlen(ch[i])-1]]=1+d[ch[i][0]];
^
user.cpp:25:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
t[i]=poz[ch[i][0]];
^
user.cpp:26:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
poz[ch[i][strlen(ch[i])-1]]=i;
^
user.cpp:16:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text3.in", "r", stdin);
^
user.cpp:17:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text3.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 472kb | Corect | 10 |
| 2 | 0ms | 468kb | Corect | 10 |
| 3 | 0ms | 416kb | Corect | 10 |
| 4 | 0ms | 412kb | Corect | 10 |
| 5 | 4ms | 712kb | Corect | 10 |
| 6 | 16ms | 780kb | Corect | 10 |
| 7 | 0ms | 416kb | Corect | 10 |
| 8 | 24ms | 1184kb | Corect | 10 |
| 9 | 0ms | 448kb | Corect | 10 |
| 10 | 0ms | 460kb | Corect | 10 |
| Punctaj total | 100 |