Pagini recente » Borderou de evaluare (job #232182) | Borderou de evaluare (job #1030697) | Borderou de evaluare (job #1564052) | Borderou de evaluare (job #2704769) | Borderou de evaluare (job #2630848)
Borderou de evaluare (job #2630848)
Raport evaluator
Compilare:
main.cpp: In function 'void add(std::vector<int>&, std::vector<int>&)':
main.cpp:12:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<a.size() or i<b.size() or last; i++){
~^~~~~~~~~
main.cpp:12:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<a.size() or i<b.size() or last; i++){
~^~~~~~~~~
main.cpp:13:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i < a.size()) last += a[i];
~~^~~~~~~~~~
main.cpp:14:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i < b.size()) last += b[i];
~~^~~~~~~~~~
main.cpp:16:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i < a.size()){
~~^~~~~~~~~~
main.cpp: In function 'void multiply(std::vector<int>&, int)':
main.cpp:29:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<a.size() or last; i++){
~^~~~~~~~~
main.cpp:30:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i < a.size()){
~~^~~~~~~~~~
main.cpp: In function 'void print(std::vector<int>&)':
main.cpp:46:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i != a.size()-1)
~~^~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 1179kb | Raspuns gresit | 0 |
2 | 4ms | 1179kb | Raspuns gresit | 0 |
3 | 5ms | 1310kb | Raspuns gresit | 0 |
4 | 9ms | 1703kb | Raspuns gresit | 0 |
5 | 25ms | 3538kb | Raspuns gresit | 0 |
6 | 4ms | 1179kb | Ok! | 10 |
7 | 5ms | 1310kb | Raspuns gresit | 0 |
8 | 22ms | 3276kb | Raspuns gresit | 0 |
9 | 5ms | 1310kb | Raspuns gresit | 0 |
10 | 21ms | 3145kb | Raspuns gresit | 0 |
Punctaj total | 10 |