Pagini recente »
Borderou de evaluare (job #493234)
|
Borderou de evaluare (job #444634)
|
Borderou de evaluare (job #110601)
|
Borderou de evaluare (job #377190)
|
Borderou de evaluare (job #687739)
Borderou de evaluare (job #687739)
Raport evaluator
Compilare:
main.cpp:7:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
7 | char *voc = "AEIOU";
| ^~~~~~~
main.cpp: In function 'int main()':
main.cpp:15:16: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
15 | fscanf(f,"%d",&N);
| ~^ ~~
| | |
| | long int*
| int*
| %ld
main.cpp:25:19: warning: array subscript has type 'char' [-Wchar-subscripts]
25 | if (!P[S[i]])
| ~~~^
main.cpp:26:18: warning: array subscript has type 'char' [-Wchar-subscripts]
26 | P[S[i]] = ++k;
| ~~~^
main.cpp:28:15: warning: array subscript has type 'char' [-Wchar-subscripts]
28 | if (!P[S[N]])
| ~~~^
main.cpp:29:14: warning: array subscript has type 'char' [-Wchar-subscripts]
29 | P[S[N]] = ++k;
| ~~~^
main.cpp:30:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
30 | fprintf(g,"%d\n",a);
| ~^ ~
| | |
| int long int
| %ld
main.cpp:31:16: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
31 | fscanf(f,"%d",&C);
| ~^ ~~
| | |
| | long int*
| int*
| %ld
main.cpp:34:21: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
34 | fscanf (f,"%d",&L[i]);
| ~^ ~~~~~
| | |
| | long int*
| int*
| %ld
main.cpp:38:23: warning: array subscript has type 'char' [-Wchar-subscripts]
38 | S[i] = L[P[S[i]]];
| ~~~^
main.cpp:38:24: warning: array subscript has type 'char' [-Wchar-subscripts]
38 | S[i] = L[P[S[i]]];
| ~~~~~~^
main.cpp:15:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
OK
|
10
|
2
|
1 ms
|
114 kb
|
OK
|
10
|
3
|
1 ms
|
110 kb
|
OK
|
10
|
4
|
1 ms
|
114 kb
|
OK
|
10
|
5
|
1 ms
|
114 kb
|
OK
|
10
|
6
|
1 ms
|
114 kb
|
OK
|
10
|
7
|
1 ms
|
110 kb
|
OK
|
10
|
8
|
1 ms
|
114 kb
|
OK
|
10
|
9
|
9 ms
|
102 kb
|
OK
|
10
|
10
|
7 ms
|
233 kb
|
OK
|
10
|
Punctaj total
|
100
|