Pagini recente » Borderou de evaluare (job #147610) | Borderou de evaluare (job #3198946) | Borderou de evaluare (job #2417387) | Borderou de evaluare (job #1599657) | Borderou de evaluare (job #2023853)
Borderou de evaluare (job #2023853)
Raport evaluator
Compilare:
user.cpp: In function ‘void grafbuilder()’:
user.cpp:85:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int it=1; it<vDrepte[i].puncte.size()-1; it++)
^
user.cpp: In function ‘void citire()’:
user.cpp:26:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:29:86: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&vDrepte[i].x1,&vDrepte[i].y1,&vDrepte[i].x2,&vDrepte[i].y2);
^
user.cpp:31:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&ls1,&ls2,&lf1,&lf2);
^
user.cpp: In function ‘int main()’:
user.cpp:117:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tramvai.in","r",stdin);
^
user.cpp:118:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tramvai.out","w",stdout);
^
user.cpp: In function ‘std::pair<double, double> intersectie(dreapta, dreapta)’:
user.cpp:39:15: warning: ‘m2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
double m1,m2,x,y;
^
user.cpp:51:18: warning: ‘m1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if((ok1&&ok2)||m1==m2)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 488kb | raspuns gresit | 0 | 0 |
2 | 4ms | 640kb | raspuns gresit | 0 |
3 | Depăşit | 9200kb | Time limit exceeded. | 0 |
4 | Depăşit | 25348kb | Time limit exceeded. | 0 |
5 | Depăşit | 8916kb | Time limit exceeded. | 0 |
6 | 1092ms | 17680kb | raspuns gresit | 0 |
7 | 580ms | 7120kb | raspuns gresit | 0 |
8 | Depăşit | 18960kb | Time limit exceeded. | 0 |
9 | 1052ms | 16496kb | raspuns gresit | 0 |
10 | Depăşit | 11172kb | Time limit exceeded. | 0 |
Punctaj total | 0 |