Borderou de evaluare (job #2166087)

Utilizator alexge50alexX AleX alexge50 Data 13 martie 2018 15:28:23
Problema Caps Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 21

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:76:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] freq_uncapsed[word[i]]++; ^ user.cpp:77:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] freq_capsed[c] ++; ^ user.cpp:80:10: warning: statement has no effect [-Wunused-value] for(q; q >0; q--) ^ user.cpp:112:75: warning: array subscript has type ‘char’ [-Wchar-subscripts] fprintf(fout, "%c %lld\n", c, r.uncapsed_regions * freq_uncapsed[c] + uncapsed + ^ user.cpp:113:71: warning: array subscript has type ‘char’ [-Wchar-subscripts] r.capsed_regions * freq_capsed[c] + capsed); ^ user.cpp: In function ‘result get_caps(long long int, long long int)’: user.cpp:55:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:64:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d %d ", &k, &q); ^ user.cpp:65:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%s", word); ^ user.cpp:82:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%lld", &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1420kbPartial corect4
20ms1408kbPartial corect2
34ms1428kbPartial corect2
44ms1424kbPartial corect2
5Depăşit1300kbTime limit exceeded.0
6Depăşit1340kbTime limit exceeded.0
7Depăşit1324kbTime limit exceeded.0
8Depăşit1336kbTime limit exceeded.0
924ms1416kbPartial corect2
1032ms1432kbPartial corect2
1120ms1364kbPartial corect2
1232ms1344kbCorect5
13Depăşit1244kbTime limit exceeded.0
14Depăşit1260kbTime limit exceeded.0
15Depăşit1408kbTime limit exceeded.0
16Depăşit1400kbTime limit exceeded.0
17Depăşit1324kbTime limit exceeded.0
18Depăşit1328kbTime limit exceeded.0
19Depăşit1432kbTime limit exceeded.0
Punctaj total21

Ceva nu functioneaza?