Pagini recente » Borderou de evaluare (job #1851703) | Borderou de evaluare (job #133977) | Borderou de evaluare (job #1339561) | Borderou de evaluare (job #50902) | Borderou de evaluare (job #2291601)
Borderou de evaluare (job #2291601)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:18:11: warning: unused variable 'j' [-Wunused-variable]
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:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%lld",&n,&b);
^
main.cpp:23:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&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 | 262kb | Incorect | 0 |
8 | 23ms | 262kb | OK | 10 |
9 | 54ms | 524kb | Incorect | 0 |
10 | 41ms | 524kb | Incorect | 0 |
Punctaj total | 50 |