Pagini recente » Borderou de evaluare (job #741070) | Borderou de evaluare (job #1213571) | Borderou de evaluare (job #767052) | Borderou de evaluare (job #1117605) | Borderou de evaluare (job #1474228)
Borderou de evaluare (job #1474228)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7: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:8: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:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:11:40: 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",&x[i]);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:19:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&tip,&nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 280kb | OK | 10 | 10 |
2 | 0ms | 272kb | OK | 10 | 10 |
3 | 0ms | 280kb | OK | 10 | 10 |
4 | 4ms | 280kb | OK | 10 | 10 |
5 | 20ms | 316kb | OK | 10 | 20 |
6 | 72ms | 468kb | OK | 10 |
7 | 108ms | 668kb | OK | 10 | 40 |
8 | 116ms | 664kb | OK | 10 |
9 | 116ms | 664kb | OK | 10 |
10 | 120ms | 668kb | OK | 10 |
Punctaj total | 100 |