Pagini recente » Borderou de evaluare (job #843456) | Borderou de evaluare (job #467388) | Borderou de evaluare (job #419014) | Borderou de evaluare (job #2557328) | Borderou de evaluare (job #1216731)
Borderou de evaluare (job #1216731)
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:51: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 | 460kb | Secventa nu obtine minim! | 0 | 0 |
2 | 0ms | 468kb | OK! | 10 |
3 | 0ms | 464kb | OK! | 10 |
4 | 0ms | 476kb | OK! | 10 | 10 |
5 | 0ms | 492kb | OK! | 10 | 10 |
6 | 0ms | 508kb | OK! | 10 | 10 |
7 | 4ms | 524kb | OK! | 10 | 10 |
8 | 4ms | 556kb | OK! | 10 | 10 |
9 | 4ms | 576kb | OK! | 10 | 10 |
10 | 8ms | 584kb | OK! | 10 | 10 |
Punctaj total | 70 |