Pagini recente » Borderou de evaluare (job #1328230) | Borderou de evaluare (job #1290233) | Borderou de evaluare (job #865447) | Borderou de evaluare (job #1622955) | Borderou de evaluare (job #1239755)
Borderou de evaluare (job #1239755)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:42: 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:8:44: 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:9:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:10:51: 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]); x=a[1];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | 0ms | 256kb | OK | 10 |
4 | 0ms | 292kb | OK | 10 |
5 | 12ms | 444kb | OK | 10 |
6 | 24ms | 640kb | OK | 10 |
7 | 52ms | 1036kb | OK | 10 |
8 | 120ms | 2212kb | OK | 10 |
9 | 252ms | 4152kb | Incorect | 0 |
10 | 264ms | 4160kb | OK | 10 |
Punctaj total | 90 |