Pagini recente » Borderou de evaluare (job #1134299) | Cod sursa (job #214739) | Cod sursa (job #515901) | Cod sursa (job #2863643) | Borderou de evaluare (job #2952119)
Borderou de evaluare (job #2952119)
Raport evaluator
Compilare:
main.cpp: In function 'char solve1(long long int)':
main.cpp:31:16: warning: comparison of integer expressions of different signedness: 'long long int' and 'long long unsigned int' [-Wsign-compare]
31 | while (pos > lgs[i])
| ~~~~^~~~~~~~
main.cpp: In function 'long long int solve2(char, long long int)':
main.cpp:68:16: warning: comparison of integer expressions of different signedness: 'long long int' and 'long long unsigned int' [-Wsign-compare]
68 | while (pos > lgs[i])
| ~~~~^~~~~~~~
main.cpp:95:18: warning: array subscript has type 'char' [-Wchar-subscripts]
95 | ans+=sp[norm[x]][pos];
| ^
main.cpp: In function 'int main()':
main.cpp:119:23: warning: array subscript has type 'char' [-Wchar-subscripts]
119 | sp[norm[s[i-1]]][i]++;
| ^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 184kb | Corect | 10 |
| 2 | 0ms | 184kb | Corect | 5 |
| 3 | 0ms | 184kb | Corect | 5 |
| 4 | 0ms | 184kb | Corect | 5 |
| 5 | 7ms | 1757kb | Corect | 5 |
| 6 | 12ms | 2510kb | Corect | 5 |
| 7 | 13ms | 2867kb | Corect | 5 |
| 8 | 18ms | 3375kb | Corect | 5 |
| 9 | 0ms | 184kb | Corect | 5 |
| 10 | 0ms | 184kb | Corect | 5 |
| 11 | 0ms | 184kb | Corect | 5 |
| 12 | 0ms | 184kb | Corect | 5 |
| 13 | 22ms | 1363kb | Corect | 5 |
| 14 | 45ms | 15654kb | Corect | 5 |
| 15 | 58ms | 30322kb | Corect | 5 |
| 16 | 77ms | 36687kb | Corect | 5 |
| 17 | 94ms | 38928kb | Corect | 5 |
| 18 | 113ms | 41197kb | Corect | 5 |
| 19 | 118ms | 43216kb | Corect | 5 |
| Punctaj total | 100 |