Pagini recente » Borderou de evaluare (job #1111852) | Borderou de evaluare (job #3156122) | Borderou de evaluare (job #1472195) | Borderou de evaluare (job #278257) | Borderou de evaluare (job #2217180)
Borderou de evaluare (job #2217180)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:9: warning: unused variable ‘a’ [-Wunused-variable]
int a,n,l=0,lmax=0,x;
^
user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.in","r",stdin);
^
user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.out","w",stdout);
^
user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:13: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 | 0ms | 872kb | OK | 10 |
| 2 | 0ms | 860kb | OK | 10 |
| 3 | 0ms | 860kb | OK | 10 |
| 4 | 4ms | 800kb | OK | 10 |
| 5 | 16ms | 872kb | OK | 10 |
| 6 | 36ms | 1048kb | OK | 10 |
| 7 | 72ms | 1436kb | OK | 10 |
| 8 | 172ms | 3816kb | OK | 10 |
| 9 | 280ms | 4556kb | OK | 10 |
| 10 | 344ms | 4560kb | OK | 10 |
| Punctaj total | 100 |