Borderou de evaluare (job #1457833)
Raport evaluator
Compilare:
user.cpp: In function ‘std::ifstream& operator>>(std::ifstream&, cost_matrix&)’:
user.cpp:16:16: warning: no return statement in function returning non-void [-Wreturn-type]
f >> x; } } }
^
user.cpp: In function ‘long long int calc_cost(const string&, const cost_matrix&)’:
user.cpp:31:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i+1 < str.size(); ++i){
^
user.cpp:34:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int dist = 4; dist <= str.size(); dist += 2){
^
user.cpp:35:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0, j = dist-1; j < str.size(); ++j){
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 404kb | Incorect | 0 |
2 | 0ms | 404kb | Incorect | 0 |
3 | 0ms | 412kb | Incorect | 0 |
4 | 0ms | 436kb | Incorect | 0 |
5 | 24ms | 524kb | Incorect | 0 |
6 | Depăşit | 788kb | Time limit exceeded. | 0 |
7 | Depăşit | 788kb | Time limit exceeded. | 0 |
8 | Depăşit | 788kb | Time limit exceeded. | 0 |
9 | Depăşit | 788kb | Time limit exceeded. | 0 |
10 | Depăşit | 788kb | Time limit exceeded. | 0 |
Punctaj total | 0 |