Pagini recente » Cod sursa (job #2482102) | Borderou de evaluare (job #2422195) | Borderou de evaluare (job #1356395) | Borderou de evaluare (job #3150710) | Borderou de evaluare (job #1262605)
Borderou de evaluare (job #1262605)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int area(std::vector<int>)’:
user.cpp:54:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<v.size()-1;i++)
^
user.cpp: In function ‘void convex_hull(std::vector<int>&, std::vector<int>&)’:
user.cpp:67:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=2;i<v.size();i++)
^
user.cpp: In function ‘std::string make_string(std::vector<int>, std::vector<int>)’:
user.cpp:94:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<v.size();j++)
^
user.cpp:99:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<i.size();j++)
^
user.cpp: In function ‘int main()’:
user.cpp:111:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gradina.in", "r", stdin);
^
user.cpp:113:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:116:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a[i].first, &a[i].second);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 508kb | Okay | 10 |
| 2 | 4ms | 512kb | Okay | 10 |
| 3 | 300ms | 520kb | Okay | 10 |
| 4 | 980ms | 524kb | Okay | 10 |
| 5 | 292ms | 520kb | Okay | 10 |
| 6 | 120ms | 516kb | Okay | 10 |
| 7 | 932ms | 520kb | Okay | 10 |
| 8 | 820ms | 524kb | Okay | 10 |
| 9 | 456ms | 516kb | Okay | 10 |
| 10 | 972ms | 520kb | Okay | 10 |
| Punctaj total | 100 |