Pagini recente » Borderou de evaluare (job #791230) | Borderou de evaluare (job #1496021) | Borderou de evaluare (job #3138351) | Borderou de evaluare (job #636813) | Borderou de evaluare (job #1835664)
Borderou de evaluare (job #1835664)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fi,"%d %d " ,&v[i].x,&v[i].y);
^
user.cpp:17:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:11:23: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
int i,n,p1,p2,j,d,x,y;
^
user.cpp:11:25: warning: variable ‘y’ set but not used [-Wunused-but-set-variable]
int i,n,p1,p2,j,d,x,y;
^
user.cpp:15:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d %d " ,&n,&d);
^
user.cpp:17:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d %d " ,&v[i].x,&v[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 468kb | Corect! | 10 |
2 | 4ms | 512kb | Corect! | 10 |
3 | 0ms | 472kb | Corect! | 10 |
4 | 4ms | 500kb | Corect! | 10 |
5 | 8ms | 544kb | Corect! | 10 |
6 | 64ms | 948kb | Corect! | 10 |
7 | 88ms | 1156kb | Corect! | 10 |
8 | 0ms | 472kb | Corect! | 10 |
9 | 432ms | 3980kb | Corect! | 10 |
10 | 428ms | 3984kb | Corect! | 10 |
Punctaj total | 100 |