Pagini recente » Borderou de evaluare (job #629450) | Borderou de evaluare (job #1043845)
Borderou de evaluare (job #1043845)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&n);
^
user.cpp:42:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&v[i]);
^
user.cpp:48:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&a);
^
user.cpp:49:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&b);
^
user.cpp:54:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(g,"%d\n",suma);
^
user.cpp:34:10: warning: unused variable ‘x’ [-Wunused-variable]
int i,o,x,m;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 128ms | 600kb | Corect! | 20 |
2 | 132ms | 600kb | Corect! | 20 |
3 | 132ms | 600kb | Corect! | 20 |
4 | 132ms | 600kb | Corect! | 20 |
5 | 128ms | 600kb | Corect! | 20 |
Punctaj total | 100 |