Pagini recente » Borderou de evaluare (job #2018188) | Borderou de evaluare (job #945697) | Atasamentele paginii Profil Codrut10 | Borderou de evaluare (job #797906) | Borderou de evaluare (job #2000676)
Borderou de evaluare (job #2000676)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:64:43: warning: narrowing conversion of ‘pit(a[j], a[i])’ from ‘int’ to ‘double’ inside { } [-Wnarrowing]
m.push_back({j,i,pit(a[j],a[i])});
^
user.cpp:74:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<m.size()&&afis<i-1;++j)
^
user.cpp:87:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<sol.size();j++)
^
user.cpp:51:11: warning: variable ‘k’ set but not used [-Wunused-but-set-variable]
int n,k,i,j;
^
user.cpp:49:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("desen.in","r",stdin);
^
user.cpp:50:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("desen.out","w",stdout);
^
user.cpp:53:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:57:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&a[i].x,&a[i].y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 320kb | OK! | 10 |
| 2 | 0ms | 316kb | OK! | 10 |
| 3 | 0ms | 328kb | OK! | 10 |
| 4 | 32ms | 352kb | OK! | 10 |
| 5 | 148ms | 388kb | OK! | 10 |
| 6 | 148ms | 384kb | OK! | 10 |
| 7 | 148ms | 388kb | OK! | 10 |
| 8 | 148ms | 380kb | OK! | 10 |
| 9 | 148ms | 388kb | OK! | 10 |
| 10 | 148ms | 384kb | OK! | 10 |
| Punctaj total | 100 |