Borderou de evaluare (job #2413484)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:39: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:43:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<poli.size()){
~^~~~~~~~~~~~
main.cpp:45: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:50: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:51:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<sol.size();i++)
~^~~~~~~~~~~
main.cpp:41: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 | 2ms | 131kb | Corect | 5 |
3 | 2ms | 131kb | Corect | 5 |
4 | 2ms | 131kb | Corect | 5 |
5 | 2ms | 131kb | Corect | 5 |
6 | 2ms | 131kb | Corect | 5 |
7 | 2ms | 131kb | Corect | 5 |
8 | 3ms | 131kb | Corect | 5 |
9 | 3ms | 131kb | Corect | 5 |
10 | 3ms | 131kb | Corect | 5 |
11 | 3ms | 131kb | Corect | 5 |
12 | 4ms | 131kb | Corect | 5 |
13 | 5ms | 131kb | Corect | 5 |
14 | 6ms | 131kb | Corect | 5 |
15 | 7ms | 131kb | Corect | 5 |
16 | 8ms | 131kb | Corect | 5 |
17 | 9ms | 131kb | Corect | 5 |
18 | 10ms | 131kb | Corect | 5 |
19 | 11ms | 131kb | Corect | 5 |
20 | 12ms | 131kb | Corect | 5 |
Punctaj total | 100 |