Pagini recente » Borderou de evaluare (job #1986495) | Borderou de evaluare (job #1645000) | Borderou de evaluare (job #3160405) | Borderou de evaluare (job #3274805) | Borderou de evaluare (job #2677036)
Borderou de evaluare (job #2677036)
Raport evaluator
Compilare:
main.cpp: In function 'void mysort(int, int, int)':
main.cpp:22:26: warning: array subscript has type 'char' [-Wchar-subscripts]
f[mat[pozcur][poz[i]]]++;
^
main.cpp:29:41: warning: array subscript has type 'char' [-Wchar-subscripts]
poz[begin + ind[mat[pozcur][cpoz[i]]]++] = cpoz[i];
^
main.cpp:14:15: warning: variable 'nr1' set but not used [-Wunused-but-set-variable]
int i, nr0, nr1;
^~~
main.cpp: In function 'int main()':
main.cpp:60:30: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[2001]' [-Wformat=]
fscanf(fin, "%s", &mat[i]);
^
main.cpp:58:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n, &m);
^
main.cpp:60:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%s", &mat[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 393kb | OK | 10 |
2 | 4ms | 524kb | OK | 10 |
3 | 10ms | 1179kb | OK | 10 |
4 | 38ms | 2228kb | OK | 10 |
5 | 66ms | 3145kb | OK | 10 |
6 | 90ms | 3538kb | OK | 10 |
7 | 100ms | 3801kb | Time limit exceeded | 0 |
8 | 101ms | 3932kb | Time limit exceeded | 0 |
9 | 101ms | 4194kb | Time limit exceeded | 0 |
10 | 100ms | 4194kb | Time limit exceeded | 0 |
Punctaj total | 60 |