Pagini recente » Borderou de evaluare (job #2014010) | Borderou de evaluare (job #2151562) | Borderou de evaluare (job #920851) | Borderou de evaluare (job #1849928) | Borderou de evaluare (job #1313303)
Borderou de evaluare (job #1313303)
Raport evaluator
Compilare:
user.cpp: In function ‘void LIS()’:
user.cpp:29:16: warning: overflow in implicit constant conversion [-Woverflow]
a[0]=a[n+1]=INF;
^
user.cpp: In function ‘int main()’:
user.cpp:38:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("profit.in","r",stdin);
^
user.cpp:39:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("profit.out","w",stdout);
^
user.cpp:40:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:41:41: 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 | Incorect | 0 |
3 | 0ms | 268kb | Incorect | 0 |
4 | 0ms | 268kb | OK | 10 |
5 | 0ms | 268kb | Incorect | 0 |
6 | 0ms | 272kb | Incorect | 0 |
7 | 0ms | 276kb | OK | 10 |
8 | 4ms | 284kb | Incorect | 0 |
9 | 20ms | 280kb | Incorect | 0 |
10 | 8ms | 284kb | OK | 10 |
Punctaj total | 40 |