Pagini recente » Borderou de evaluare (job #1012507) | Borderou de evaluare (job #2717600) | Borderou de evaluare (job #2331207) | Borderou de evaluare (job #1076499) | Borderou de evaluare (job #1222125)
Borderou de evaluare (job #1222125)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:94:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(gr=1;gr<vx.size();gr++){
^
user.cpp:115:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(step <= vx.size()) step <<= 1;
^
user.cpp:117:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(cbGroup+step < vx.size()){
^
user.cpp:124:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(step <= group[cbGroup].size()) step <<= 1;
^
user.cpp:126:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(step+pos < group[cbGroup].size()){
^
user.cpp:138:27: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long int*’ [-Wformat=]
printf("%ld\n",&Answer);
^
user.cpp:72:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("poligon.in","r",stdin);
^
user.cpp:73:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("poligon.out","w",stdout);
^
user.cpp:75:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&n,&m);
^
user.cpp:77:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf",&aux.x,&aux.y);
^
user.cpp:108:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf",&aux.x,&aux.y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 532kb | Too bad! | 0 |
2 | 0ms | 532kb | Too bad! | 0 |
3 | 0ms | 536kb | Too bad! | 0 |
4 | 4ms | 568kb | Too bad! | 0 |
5 | 8ms | 628kb | Too bad! | 0 |
6 | 88ms | 2152kb | Too bad! | 0 |
7 | 24ms | 952kb | Too bad! | 0 |
8 | 40ms | 1200kb | Too bad! | 0 |
9 | 60ms | 1524kb | Too bad! | 0 |
10 | 80ms | 1992kb | Too bad! | 0 |
Punctaj total | 0 |