Pagini recente » Borderou de evaluare (job #2341492) | Borderou de evaluare (job #2906198) | Borderou de evaluare (job #1832759) | Borderou de evaluare (job #1248823) | Borderou de evaluare (job #1275253)
Borderou de evaluare (job #1275253)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&n);
^
user.cpp:49: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:28:14: warning: unused variable ‘j’ [-Wunused-variable]
long n,i,j,k;
^
user.cpp:30: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:32:44: 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 | 332kb | Corect | 10 |
2 | 0ms | 332kb | Corect | 10 |
3 | 32ms | 632kb | Corect | 10 |
4 | 32ms | 640kb | Corect | 10 |
5 | 32ms | 640kb | Corect | 10 |
6 | 236ms | 2400kb | Corect | 10 |
7 | 244ms | 2392kb | Corect | 10 |
8 | 240ms | 2400kb | Corect | 10 |
9 | 240ms | 2392kb | Corect | 10 |
10 | 240ms | 2392kb | Corect | 10 |
Punctaj total | 100 |