Pagini recente » Borderou de evaluare (job #805805) | Borderou de evaluare (job #2041228) | Borderou de evaluare (job #2883613) | Borderou de evaluare (job #2587115) | Borderou de evaluare (job #2477226)
Borderou de evaluare (job #2477226)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:30:35: warning: NULL used in arithmetic [-Wpointer-arith]
for(i = 0; sum < w && s[i] != NULL; i++) {
^~~~
main.cpp:34:16: warning: NULL used in arithmetic [-Wpointer-arith]
if(s[i] == NULL) {
^~~~
main.cpp:39:14: warning: statement has no effect [-Wunused-value]
for(i; i >= 0 && sml < 3; i--) sml += l[mp(s[i])];
^
main.cpp:40:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int j = 0; j < i; j++) cout << s[j]; cout << "...";
^~~
main.cpp:40:50: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int j = 0; j < i; j++) cout << s[j]; cout << "...";
^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 100 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 2ms | 131kb | OK | 10 |
6 | 3ms | 393kb | OK | 10 |
7 | 6ms | 1179kb | OK | 10 |
8 | 11ms | 1179kb | OK | 10 |
9 | 6ms | 1179kb | OK | 10 |
10 | 6ms | 1179kb | OK | 10 |
Punctaj total | 100 |