Pagini recente » Borderou de evaluare (job #605236) | Borderou de evaluare (job #1652625) | Borderou de evaluare (job #2030989) | Borderou de evaluare (job #1987155) | Borderou de evaluare (job #2286776)
Borderou de evaluare (job #2286776)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:78:29: warning: format '%lf' expects argument of type 'double*', but argument 2 has type 'int*' [-Wformat=]
scanf("%lf%lf",&x,&y);
^
main.cpp:78:29: warning: format '%lf' expects argument of type 'double*', but argument 3 has type 'int*' [-Wformat=]
main.cpp:106:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1 ; i < v.size() ; i++)
~~^~~~~~~~~~
main.cpp:108:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i < v.size()-1 && orientare(start,v[i],v[i+1]) == 0)
~~^~~~~~~~~~~~
main.cpp:114:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i < path.size())
~~^~~~~~~~~~~~~
main.cpp:126:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<punct>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n",sol.size());
^
main.cpp:127:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < sol.size() ; i++)
~~^~~~~~~~~~~~
main.cpp:104:9: warning: unused variable 'dim' [-Wunused-variable]
int dim = -1;
^~~
main.cpp:70:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("infasuratoare.in","r",stdin);
^
main.cpp:71:44: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("infasuratoare.out","w",stdout);
^
main.cpp:73:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:78:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Killed by Signal 11 | 0 |
2 | 2ms | 131kb | Killed by Signal 11 | 0 |
3 | 35ms | 782kb | Killed by Signal 11 | 0 |
4 | 34ms | 782kb | Killed by Signal 11 | 0 |
5 | 33ms | 782kb | Killed by Signal 11 | 0 |
6 | 199ms | 4964kb | Killed by Signal 11 | 0 |
7 | 201ms | 4964kb | Killed by Signal 11 | 0 |
8 | 201ms | 5107kb | Killed by Signal 11 | 0 |
9 | 204ms | 4964kb | Killed by Signal 11 | 0 |
10 | 220ms | 5107kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |