Pagini recente » Borderou de evaluare (job #1490134) | Borderou de evaluare (job #1056112) | Borderou de evaluare (job #1007682) | Borderou de evaluare (job #2694192) | Borderou de evaluare (job #1615658)
Borderou de evaluare (job #1615658)
Raport evaluator
Compilare:
user.cpp: In function ‘float line(std::vector<punct>)’:
user.cpp:50:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<a.size();++i)
^
user.cpp:53:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=i+1;j<a.size();++j)
^
user.cpp: In function ‘float divide(std::vector<punct>)’:
user.cpp:80:85: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(stop = mij; std::abs(a[mij].x - a[stop].x) < distance && stop < a.size(); stop++);
^
user.cpp: In function ‘int main()’:
user.cpp:92:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmap.in", "r", stdin);
^
user.cpp:93:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmap.out", "w", stdout);
^
user.cpp:94:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:97:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&local.x,&local.y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 528kb | Incorect | 0 |
2 | 0ms | 524kb | Incorect | 0 |
3 | 16ms | 812kb | Incorect | 0 |
4 | 16ms | 812kb | Incorect | 0 |
5 | 56ms | 1544kb | Incorect | 0 |
6 | 96ms | 2180kb | Incorect | 0 |
7 | 140ms | 3156kb | Incorect | 0 |
8 | 196ms | 4212kb | Incorect | 0 |
9 | 200ms | 4220kb | Incorect | 0 |
10 | 196ms | 4220kb | Incorect | 0 |
Punctaj total | 0 |