Pagini recente » Borderou de evaluare (job #1745681) | Borderou de evaluare (job #2582034) | Borderou de evaluare (job #2661999) | Borderou de evaluare (job #1967271) | Borderou de evaluare (job #1280403)
Borderou de evaluare (job #1280403)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&n);
^
user.cpp:57:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(g,"%d\n",k-1);
^
user.cpp:29:25: warning: variable ‘poz’ set but not used [-Wunused-but-set-variable]
int semn=1,st[nmax],poz;
^
user.cpp:30:14: warning: unused variable ‘j’ [-Wunused-variable]
long n,i,j,k;
^
user.cpp:33:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:35:45: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{fscanf(f,"%lf %lf",&v[i].x,&v[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 324kb | Corect | 10 |
2 | 0ms | 328kb | Corect | 10 |
3 | 32ms | 640kb | Corect | 10 |
4 | 32ms | 636kb | Corect | 10 |
5 | 32ms | 640kb | Corect | 10 |
6 | 240ms | 2396kb | Corect | 10 |
7 | 244ms | 2400kb | Corect | 10 |
8 | 240ms | 2396kb | Corect | 10 |
9 | 240ms | 2400kb | Corect | 10 |
10 | 240ms | 2396kb | Corect | 10 |
Punctaj total | 100 |