Pagini recente » Borderou de evaluare (job #267099) | Borderou de evaluare (job #1404551) | Borderou de evaluare (job #1120537) | Borderou de evaluare (job #482678) | Borderou de evaluare (job #1641563)
Borderou de evaluare (job #1641563)
Raport evaluator
Compilare:
user.cpp: In function ‘int cb(int, int)’:
user.cpp:8:11: warning: unused variable ‘ma’ [-Wunused-variable]
int m,ma,ls=1,ld=i;
^
user.cpp: In function ‘int main()’:
user.cpp:25:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bete2.in","r",stdin);
^
user.cpp:26:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bete2.out","w",stdout);
^
user.cpp:27:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:28:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;++i)scanf("%d",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 0ms | 272kb | OK | 10 |
5 | 124ms | 276kb | OK | 10 |
6 | 196ms | 280kb | OK | 10 |
7 | 248ms | 276kb | OK | 10 |
8 | 268ms | 276kb | OK | 10 |
9 | 284ms | 276kb | OK | 10 |
10 | 284ms | 276kb | OK | 10 |
Punctaj total | 100 |