Pagini recente » Borderou de evaluare (job #2302304) | Borderou de evaluare (job #2317377) | Borderou de evaluare (job #935544) | Borderou de evaluare (job #41703) | Borderou de evaluare (job #2413481)
Borderou de evaluare (job #2413481)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:43:36: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<coord>::size_type {aka long unsigned int}' [-Wformat=]
fprintf(fout,"%d\n",poli.size());
^
main.cpp:47:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<poli.size()){
~^~~~~~~~~~~~
main.cpp:49:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(j<poli.size() && 1LL*poli[j].x*poli[i].y==1LL*poli[j].y*poli[i].x)
~^~~~~~~~~~~~
main.cpp:54:35: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
fprintf(fout,"%d\n",sol.size());
^
main.cpp:55:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<sol.size();i++)
~^~~~~~~~~~~
main.cpp:45:9: warning: unused variable 'nrdif' [-Wunused-variable]
int nrdif=0;
^~~~~
main.cpp:29:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&n);
^
main.cpp:31:26: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&r);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Corect | 5 |
2 | 3ms | 131kb | Corect | 5 |
3 | 3ms | 131kb | Corect | 5 |
4 | 2ms | 131kb | Corect | 5 |
5 | 4ms | 131kb | Corect | 5 |
6 | 3ms | 131kb | Corect | 5 |
7 | 15ms | 131kb | Toate cerintele sunt incorecte | 0 |
8 | 20ms | 131kb | Toate cerintele sunt incorecte | 0 |
9 | 10ms | 131kb | Corect | 5 |
10 | 20ms | 131kb | Toate cerintele sunt incorecte | 0 |
11 | 20ms | 131kb | Toate cerintele sunt incorecte | 0 |
12 | 20ms | 131kb | Toate cerintele sunt incorecte | 0 |
13 | 20ms | 131kb | Toate cerintele sunt incorecte | 0 |
14 | 20ms | 131kb | Toate cerintele sunt incorecte | 0 |
15 | 20ms | 131kb | Toate cerintele sunt incorecte | 0 |
16 | 20ms | 131kb | Toate cerintele sunt incorecte | 0 |
17 | 20ms | 131kb | Prima si a treia cerinta incorecte | 2 |
18 | 21ms | 131kb | Prima si a treia cerinta incorecte | 2 |
19 | 21ms | 131kb | Prima si a treia cerinta incorecte | 2 |
20 | 21ms | 131kb | Prima si a treia cerinta incorecte | 2 |
Punctaj total | 43 |