Pagini recente » Borderou de evaluare (job #1528296) | Borderou de evaluare (job #364448) | Borderou de evaluare (job #2869640) | Borderou de evaluare (job #1687589) | Borderou de evaluare (job #2291609)
Borderou de evaluare (job #2291609)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:18:21: warning: unused variable 'j' [-Wunused-variable]
long long int i,j,st=1,dr=0,c;
^
main.cpp:19:23: warning: unused variable 'smax' [-Wunused-variable]
long long int b,s,smax=0;
^~~~
main.cpp:16:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("buget.in","r",stdin);
^
main.cpp:17:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("buget.out","w",stdout);
^
main.cpp:20:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&n,&b);
^
main.cpp:23:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 4ms | 131kb | Incorect | 0 |
6 | 4ms | 131kb | OK | 10 |
7 | 25ms | 438kb | Incorect | 0 |
8 | 24ms | 393kb | OK | 10 |
9 | 54ms | 786kb | Incorect | 0 |
10 | 52ms | 786kb | Incorect | 0 |
Punctaj total | 50 |