Pagini recente » Borderou de evaluare (job #1519348) | Borderou de evaluare (job #2854415) | Borderou de evaluare (job #1920461) | Borderou de evaluare (job #2094360) | Borderou de evaluare (job #1724095)
Borderou de evaluare (job #1724095)
Raport evaluator
Compilare:
user.cpp: In function ‘void sortBand()’:
user.cpp:66:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ;i < V.size() - 1; i++)
^
user.cpp: In function ‘int findBand(std::pair<double, double>)’:
user.cpp:91:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(sol == V.size() - 1)
^
user.cpp: In function ‘void binarySearch(std::pair<double, double>)’:
user.cpp:104:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(sol + s >= Band[poz].size())
^
user.cpp:101:9: warning: unused variable ‘left’ [-Wunused-variable]
int left = 0, right = Band[poz].size() - 1, mid, sol = -1;
^
user.cpp:101:19: warning: unused variable ‘right’ [-Wunused-variable]
int left = 0, right = Band[poz].size() - 1, mid, sol = -1;
^
user.cpp:101:49: warning: unused variable ‘mid’ [-Wunused-variable]
int left = 0, right = Band[poz].size() - 1, mid, sol = -1;
^
user.cpp: In function ‘void Read()’:
user.cpp:18:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
user.cpp:20:80: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&Point[i].first,&Point[i].second), Abs[Point[i].first] = 1;
^
user.cpp: In function ‘int main()’:
user.cpp:126:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("poligon.in","r",stdin);
^
user.cpp:134:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&p.first, &p.second);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1400kb | Okay! | 10 |
2 | 0ms | 1416kb | Okay! | 10 |
3 | 0ms | 1464kb | Okay! | 10 |
4 | 4ms | 1588kb | Okay! | 10 |
5 | 12ms | 1832kb | Okay! | 10 |
6 | Depăşit | 7744kb | Time limit exceeded. | 0 |
7 | 48ms | 3376kb | Okay! | 10 |
8 | 80ms | 4168kb | Okay! | 10 |
9 | 136ms | 5492kb | Okay! | 10 |
10 | 188ms | 7340kb | Okay! | 10 |
Punctaj total | 90 |