Pagini recente » Borderou de evaluare (job #1951507) | Borderou de evaluare (job #1841025)
Borderou de evaluare (job #1841025)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:5:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.in","r",stdin);
^
user.cpp:6:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.out","w",stdout);
^
user.cpp:7:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:8:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1; i<=n; i++)scanf("%ld",&a[i]);
^
user.cpp:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&m);
^
user.cpp:12:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&c,&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 264kb | OK | 10 | 10 |
2 | 0ms | 264kb | OK | 10 | 10 |
3 | 0ms | 264kb | OK | 10 | 10 |
4 | 4ms | 272kb | OK | 10 | 10 |
5 | 20ms | 300kb | OK | 10 | 20 |
6 | 76ms | 460kb | OK | 10 |
7 | 116ms | 648kb | OK | 10 | 40 |
8 | 112ms | 652kb | OK | 10 |
9 | 124ms | 648kb | OK | 10 |
10 | 120ms | 652kb | OK | 10 |
Punctaj total | 100 |