Borderou de evaluare (job #1508777)

Utilizator depevladVlad Dumitru-Popescu depevlad Data 22 octombrie 2015 22:41:04
Problema Desen Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void addPoint(Point)’: user.cpp:42:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < P.size(); i++) ^ user.cpp:43:29: warning: narrowing conversion of ‘P.std::vector<_Tp, _Alloc>::size<Point, std::allocator<Point> >()’ from ‘std::vector<Point>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing] E.push_back({P.size(), i, distance(A, P[i])}); ^ user.cpp: In function ‘double getAPM(int)’: user.cpp:88:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < E.size() && nEdge ; i++) { ^ user.cpp: In function ‘int main()’: user.cpp:103:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &n); ^ user.cpp:105:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d %d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms320kbOK!10
28ms372kbOK!10
3116ms444kbOK!10
4Depăşit596kbTime limit exceeded.0
5Depăşit600kbTime limit exceeded.0
6Depăşit596kbTime limit exceeded.0
7Depăşit588kbTime limit exceeded.0
8Depăşit592kbTime limit exceeded.0
9Depăşit592kbTime limit exceeded.0
10Depăşit596kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?