Pagini recente » Borderou de evaluare (job #953820) | Borderou de evaluare (job #2672006) | Borderou de evaluare (job #513880) | Borderou de evaluare (job #2753664) | Borderou de evaluare (job #2005803)
Borderou de evaluare (job #2005803)
Raport evaluator
Compilare:
user.cpp: In function ‘bool cmp(std::string, std::string)’:
user.cpp:10:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=a.length(); i<b.length(); i++)
^
user.cpp:12:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=b.length(); i<a.length(); i++)
^
user.cpp:14:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<a.length(); i++)
^
user.cpp:15:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (fq[a[i]]<fq[b[i]]) return 1; else if (fq[a[i]]>fq[b[i]]) return 0;
^
user.cpp:15:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (fq[a[i]]<fq[b[i]]) return 1; else if (fq[a[i]]>fq[b[i]]) return 0;
^
user.cpp:15:58: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (fq[a[i]]<fq[b[i]]) return 1; else if (fq[a[i]]>fq[b[i]]) return 0;
^
user.cpp:15:67: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (fq[a[i]]<fq[b[i]]) return 1; else if (fq[a[i]]>fq[b[i]]) return 0;
^
user.cpp: In function ‘int main()’:
user.cpp:25:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<s.length(); i++) fq[s[i]]=i+1;
^
user.cpp:25:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (i=0; i<s.length(); i++) fq[s[i]]=i+1;
^
user.cpp: In function ‘bool cmp(std::string, std::string)’:
user.cpp:16:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2000kb | OK | 5 |
2 | 8ms | 2024kb | OK | 5 |
3 | Depăşit | 3148kb | Time limit exceeded. | 0 |
4 | 32ms | Depăşit | Memory limit exceeded. | 0 |
5 | 32ms | Depăşit | Memory limit exceeded. | 0 |
6 | 36ms | Depăşit | Memory limit exceeded. | 0 |
7 | 4ms | 1988kb | OK | 5 |
8 | 8ms | 2020kb | OK | 5 |
9 | 16ms | 2040kb | OK | 5 |
10 | 36ms | 2112kb | OK | 5 |
11 | 76ms | 2236kb | OK | 5 |
12 | 156ms | 2464kb | OK | 5 |
13 | Depăşit | 2928kb | Time limit exceeded. | 0 |
14 | Depăşit | 3848kb | Time limit exceeded. | 0 |
15 | 32ms | Depăşit | Memory limit exceeded. | 0 |
16 | 32ms | Depăşit | Memory limit exceeded. | 0 |
17 | 36ms | Depăşit | Memory limit exceeded. | 0 |
18 | 32ms | Depăşit | Memory limit exceeded. | 0 |
19 | 36ms | Depăşit | Memory limit exceeded. | 0 |
20 | 32ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 40 |