Pagini recente »
Borderou de evaluare (job #822103)
|
Borderou de evaluare (job #192809)
|
Borderou de evaluare (job #336359)
|
Borderou de evaluare (job #274979)
|
Borderou de evaluare (job #782354)
Borderou de evaluare (job #782354)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:26:15: warning: array subscript has type 'char' [-Wchar-subscripts]
26 | v[i]=f[c];
| ^
main.c:27:13: warning: array subscript has type 'char' [-Wchar-subscripts]
27 | if(f[c]>mx){
| ^
main.c:28:17: warning: array subscript has type 'char' [-Wchar-subscripts]
28 | mx=f[c];
| ^
main.c:44:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
44 | fprintf(fout,"%d %d",s,i-1);
| ~^ ~
| | |
| int long long int
| %lld
main.c:44:23: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=]
44 | fprintf(fout,"%d %d",s,i-1);
| ~^ ~~~
| | |
| int long long int
| %lld
main.c:8:34: warning: variable 'g' set but not used [-Wunused-but-set-variable]
8 | long long n, i, x, j, mx, m, g, p, s;
| ^
main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf(fin,"%lld",&n);
| ^~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
507 kb
|
Incorect
|
0
|
2
|
1 ms
|
266 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
5
|
1 ms
|
266 kb
|
Incorect
|
0
|
6
|
1 ms
|
245 kb
|
Incorect
|
0
|
7
|
2798 ms
|
249 kb
|
Incorect
|
0
|
8
|
1 ms
|
245 kb
|
Incorect
|
0
|
9
|
1 ms
|
507 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
0
|