Pagini recente » Borderou de evaluare (job #362941) | Borderou de evaluare (job #1400960) | Borderou de evaluare (job #488343) | Borderou de evaluare (job #229446) | Borderou de evaluare (job #1896016)
Borderou de evaluare (job #1896016)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:21: warning: unused variable ‘ans’ [-Wunused-variable]
int n,i,k=0,s=0,ans,mini,rt1,rt2,left,right;
^
user.cpp:24:43: warning: unused variable ‘right’ [-Wunused-variable]
int n,i,k=0,s=0,ans,mini,rt1,rt2,left,right;
^
user.cpp:22:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("minim.in","r",stdin);
^
user.cpp:23:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("minim.out","w",stdout);
^
user.cpp:26:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:28:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:61:26: warning: ‘rt1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
jump[rt1]=rt2;
^
user.cpp:61:26: warning: ‘rt2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | Depăşit | 264kb | Time limit exceeded. | 0 |
3 | 0ms | 272kb | OK | 10 |
4 | 0ms | 272kb | OK | 10 |
5 | 0ms | 268kb | OK | 10 |
6 | Depăşit | 276kb | Time limit exceeded. | 0 |
7 | Depăşit | 272kb | Time limit exceeded. | 0 |
8 | 0ms | 268kb | OK | 10 |
9 | 0ms | 272kb | OK | 10 |
10 | 0ms | 272kb | OK | 10 |
Punctaj total | 70 |