Pagini recente » Borderou de evaluare (job #1122251) | Borderou de evaluare (job #1342702) | Borderou de evaluare (job #2838497) | Borderou de evaluare (job #1887818) | Borderou de evaluare (job #2566009)
Borderou de evaluare (job #2566009)
Raport evaluator
Compilare:
main.cpp: In function 'int funct(int, char*)':
main.cpp:12:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(v[in]=2 && in<=n-4) funct(in+1, "BC");
^
main.cpp:12:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
if(v[in]=2 && in<=n-4) funct(in+1, "BC");
^
main.cpp:16:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
funct(in+4, "C"); funct(in+1, "C");
^
main.cpp:16:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
funct(in+4, "C"); funct(in+1, "C");
^
main.cpp:22:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
if(v[in]==2 && in<=n-5) funct (in+1, "B");
^
main.cpp:23:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
else if(v[in]==1 && v[in+2]==3 && in+4<=n) funct(in+4, "C");
^
main.cpp:32:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
if(v[in]==3 && in<=n-5) funct(in+1, "BC");
^
main.cpp:34:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:47:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
if(v[1]==2) funct(2, "B");
^
main.cpp:49:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
if(v[1]==3) funct(2, "BC");
^
main.cpp:52:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
if(v[1]==1 && v[3]==3) funct (5, "C");
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK! | 10 |
2 | 2ms | 131kb | Raspuns gresit! | 0 |
3 | 2ms | 131kb | Raspuns gresit! | 0 |
4 | 3ms | 131kb | Raspuns gresit! | 0 |
5 | 2ms | 131kb | Raspuns gresit! | 0 |
6 | 2ms | 131kb | Raspuns gresit! | 0 |
7 | 2ms | 131kb | Raspuns gresit! | 0 |
8 | 8ms | 131kb | Raspuns gresit! | 0 |
9 | 8ms | 131kb | Raspuns gresit! | 0 |
10 | 14ms | 131kb | Raspuns gresit! | 0 |
Punctaj total | 10 |