Pagini recente » Borderou de evaluare (job #406416) | Borderou de evaluare (job #363341) | Borderou de evaluare (job #87458) | Borderou de evaluare (job #2118866) | Borderou de evaluare (job #1216717)
Borderou de evaluare (job #1216717)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:20: warning: unused variable ‘m’ [-Wunused-variable]
int n,v[30000],m[30000],m1[30000];
^
user.cpp:10:29: warning: unused variable ‘m1’ [-Wunused-variable]
int n,v[30000],m[30000],m1[30000];
^
user.cpp:16:13: warning: variable ‘pz2’ set but not used [-Wunused-but-set-variable]
int pz1,pz2;
^
user.cpp:13:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(pFile,"%d",&n);
^
user.cpp:18:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(pFile,"%d",&v[i]);
^
user.cpp:72:12: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
p1--;
^
user.cpp:49:1: warning: ‘pz1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int i=n;i>=pz1+1;i--)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 464kb | Secventa invalida! | 0 | 0 |
2 | 0ms | 460kb | OK! | 10 |
3 | 0ms | 468kb | OK! | 10 |
4 | 0ms | 472kb | OK! | 10 | 10 |
5 | 0ms | 492kb | Raspuns Gresit! | 0 | 0 |
6 | 0ms | 516kb | Raspuns Gresit! | 0 | 0 |
7 | 4ms | 528kb | Raspuns Gresit! | 0 | 0 |
8 | 4ms | 548kb | Raspuns Gresit! | 0 | 0 |
9 | 4ms | 568kb | Raspuns Gresit! | 0 | 0 |
10 | 8ms | 588kb | OK! | 10 | 10 |
Punctaj total | 20 |