Pagini recente » Borderou de evaluare (job #308536) | Borderou de evaluare (job #2052807) | Cod sursa (job #2852341) | Borderou de evaluare (job #697836) | Borderou de evaluare (job #2011191)
Borderou de evaluare (job #2011191)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:32: 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:11:34: 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:12:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:13:34: 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); a.push_back(x);}
^
user.cpp:14:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:17:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 256kb | OK | 10 | 10 |
2 | 0ms | 252kb | OK | 10 | 10 |
3 | 0ms | 256kb | OK | 10 | 10 |
4 | 4ms | 260kb | OK | 10 | 10 |
5 | 24ms | 360kb | OK | 10 | 20 |
6 | 76ms | 528kb | OK | 10 |
7 | 120ms | 744kb | OK | 10 | 40 |
8 | 124ms | 748kb | OK | 10 |
9 | 124ms | 752kb | OK | 10 |
10 | 132ms | 748kb | OK | 10 |
Punctaj total | 100 |