Pagini recente » Borderou de evaluare (job #1217260) | Borderou de evaluare (job #487733) | Borderou de evaluare (job #2196890) | Borderou de evaluare (job #742418) | Borderou de evaluare (job #1216718)
Borderou de evaluare (job #1216718)
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:73:12: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
p1--;
^
user.cpp:51:1: warning: ‘pz1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int i=n-1;i>=pz1+1;i--)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 460kb | Secventa invalida! | 0 | 0 |
2 | 0ms | 468kb | OK! | 10 |
3 | 0ms | 468kb | OK! | 10 |
4 | 0ms | 472kb | OK! | 10 | 10 |
5 | 0ms | 492kb | OK! | 10 | 10 |
6 | 0ms | 512kb | OK! | 10 | 10 |
7 | 4ms | 524kb | OK! | 10 | 10 |
8 | 4ms | 548kb | OK! | 10 | 10 |
9 | 4ms | 568kb | OK! | 10 | 10 |
10 | 8ms | 584kb | OK! | 10 | 10 |
Punctaj total | 70 |