Pagini recente » Borderou de evaluare (job #1107101) | Borderou de evaluare (job #1557856) | Borderou de evaluare (job #2778300) | Borderou de evaluare (job #2592668) | Borderou de evaluare (job #1216727)
Borderou de evaluare (job #1216727)
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 invalida! | 0 | 0 |
2 | 0ms | 464kb | OK! | 10 |
3 | 0ms | 464kb | OK! | 10 |
4 | 0ms | 472kb | OK! | 10 | 10 |
5 | 0ms | 492kb | OK! | 10 | 10 |
6 | 0ms | 512kb | OK! | 10 | 10 |
7 | 4ms | 528kb | OK! | 10 | 10 |
8 | 4ms | 556kb | OK! | 10 | 10 |
9 | 4ms | 576kb | OK! | 10 | 10 |
10 | 8ms | 588kb | OK! | 10 | 10 |
Punctaj total | 70 |