Pagini recente » Borderou de evaluare (job #477070) | Borderou de evaluare (job #2894018) | Borderou de evaluare (job #1293768) | Borderou de evaluare (job #1376799) | Borderou de evaluare (job #2128019)
Borderou de evaluare (job #2128019)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(sz >= 2 && str[stk[sz - 1]] > str[stk[sz]] && str[stk[sz]] < str[i]) {
^
user.cpp:38:60: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(sz >= 2 && str[stk[sz - 1]] > str[stk[sz]] && str[stk[sz]] < str[i]) {
^
user.cpp:38:76: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(sz >= 2 && str[stk[sz - 1]] > str[stk[sz]] && str[stk[sz]] < str[i]) {
^
user.cpp:39:47: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ans += max(get(str[stk[sz - 1]]), get(str[i]));
^
user.cpp:45:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fputc(str[stk[i]], fout);
^
user.cpp:20:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d " ,&type);
^
user.cpp:21:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%s " ,str + 1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1264kb | OK | 5 |
2 | 0ms | 1260kb | OK | 5 |
3 | 0ms | 1264kb | OK | 5 |
4 | 0ms | 1324kb | OK | 5 |
5 | 0ms | 1356kb | OK | 5 |
6 | 0ms | 1260kb | Incorect | 0 |
7 | 0ms | 1260kb | Incorect | 0 |
8 | 0ms | 1264kb | Incorect | 0 |
9 | 0ms | 1272kb | Incorect | 0 |
10 | 0ms | 1296kb | Incorect | 0 |
11 | 4ms | 1400kb | Incorect | 0 |
12 | 0ms | 1344kb | Incorect | 0 |
13 | 0ms | 1388kb | Incorect | 0 |
14 | 4ms | 1380kb | Incorect | 0 |
15 | 0ms | 1336kb | Incorect | 0 |
16 | 0ms | 1356kb | Incorect | 0 |
17 | 0ms | 1368kb | Incorect | 0 |
18 | 4ms | 1380kb | Incorect | 0 |
19 | 4ms | 1384kb | Incorect | 0 |
20 | 0ms | 1264kb | OK | 5 |
Punctaj total | 30 |