Pagini recente » Borderou de evaluare (job #1090713) | Borderou de evaluare (job #699836) | Borderou de evaluare (job #2689533) | Borderou de evaluare (job #2071037) | Borderou de evaluare (job #1239759)
Borderou de evaluare (job #1239759)
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 | 256kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 260kb | OK | 10 |
4 | 0ms | 296kb | OK | 10 |
5 | 12ms | 448kb | OK | 10 |
6 | 28ms | 652kb | OK | 10 |
7 | 52ms | 1040kb | OK | 10 |
8 | 120ms | 2212kb | OK | 10 |
9 | 252ms | 4160kb | OK | 10 |
10 | 248ms | 4164kb | OK | 10 |
Punctaj total | 100 |