Pagini recente » Borderou de evaluare (job #1340606) | Borderou de evaluare (job #884777) | Borderou de evaluare (job #2794291) | Borderou de evaluare (job #1227416) | Borderou de evaluare (job #1896057)
Borderou de evaluare (job #1896057)
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=1,rt2,left=1,right;
^
user.cpp:24:47: warning: unused variable ‘right’ [-Wunused-variable]
int n,i,k=0,s=0,ans,mini,rt1=1,rt2,left=1,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:63:23: warning: ‘rt2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(rt1==1 && rt2==n)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | Depăşit | 268kb | Time limit exceeded. | 0 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 272kb | OK | 10 |
5 | 0ms | 268kb | OK | 10 |
6 | Depăşit | 272kb | Time limit exceeded. | 0 |
7 | Depăşit | 268kb | Time limit exceeded. | 0 |
8 | 0ms | 268kb | OK | 10 |
9 | 0ms | 268kb | OK | 10 |
10 | 0ms | 268kb | OK | 10 |
Punctaj total | 70 |