Pagini recente » Borderou de evaluare (job #1448236) | Borderou de evaluare (job #2901218) | Borderou de evaluare (job #1762424) | Borderou de evaluare (job #1557974) | Borderou de evaluare (job #1492706)
Borderou de evaluare (job #1492706)
Raport evaluator
Compilare:
user.cpp: In function ‘void quicksort(char**, int, int, int)’:
user.cpp:30:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (pos[c] < pos[midChar])
^
user.cpp:30:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (pos[c] < pos[midChar])
^
user.cpp:36:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if (pos[c] > pos[midChar])
^
user.cpp:36:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if (pos[c] > pos[midChar])
^
user.cpp: In function ‘int main()’:
user.cpp:66:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[6]’ [-Wformat=]
scanf("%s\n", &s);
^
user.cpp:73:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pos[ sir[i] ] = i;
^
user.cpp:55:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.in", "r", stdin);
^
user.cpp:56:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.out", "w", stdout);
^
user.cpp:58:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &p);
^
user.cpp:59:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &N);
^
user.cpp:60:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", sir);
^
user.cpp:66:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 24ms | Depăşit | Memory limit exceeded. | 0 |
2 | 36ms | Depăşit | Memory limit exceeded. | 0 |
3 | 40ms | Depăşit | Memory limit exceeded. | 0 |
4 | 44ms | Depăşit | Memory limit exceeded. | 0 |
5 | 52ms | Depăşit | Memory limit exceeded. | 0 |
6 | 52ms | Depăşit | Memory limit exceeded. | 0 |
7 | 48ms | Depăşit | Memory limit exceeded. | 0 |
8 | 24ms | Depăşit | Memory limit exceeded. | 0 |
9 | Depăşit | 448kb | Time limit exceeded. | 0 |
10 | 32ms | Depăşit | Memory limit exceeded. | 0 |
11 | 48ms | Depăşit | Memory limit exceeded. | 0 |
12 | 48ms | Depăşit | Memory limit exceeded. | 0 |
13 | 48ms | Depăşit | Memory limit exceeded. | 0 |
14 | 44ms | Depăşit | Memory limit exceeded. | 0 |
15 | 44ms | Depăşit | Memory limit exceeded. | 0 |
16 | 92ms | Depăşit | Memory limit exceeded. | 0 |
17 | 48ms | Depăşit | Memory limit exceeded. | 0 |
18 | 52ms | Depăşit | Memory limit exceeded. | 0 |
19 | 52ms | Depăşit | Memory limit exceeded. | 0 |
20 | 52ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |