Pagini recente » Borderou de evaluare (job #2082652) | Borderou de evaluare (job #264207) | Borderou de evaluare (job #2366692) | Borderou de evaluare (job #2401471) | Borderou de evaluare (job #2453958)
Borderou de evaluare (job #2453958)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:53:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n%d",v.size(),ans);
^
main.cpp:19:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("calcule.in","r",stdin);
^
main.cpp:20:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("calcule.out","w",stdout);
^
main.cpp:21:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
main.cpp:26:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
main.cpp:51:17: warning: 'answer' may be used uninitialized in this function [-Wmaybe-uninitialized]
v[answer] = x;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 10 |
2 | 14ms | 131kb | OK | 10 |
3 | 33ms | 131kb | OK | 10 |
4 | 43ms | 131kb | OK | 10 |
5 | 46ms | 131kb | OK | 10 |
6 | 20ms | 131kb | OK | 10 |
7 | 37ms | 262kb | OK | 10 |
8 | 44ms | 262kb | OK | 10 |
9 | 46ms | 262kb | OK | 10 |
10 | 51ms | 262kb | OK | 10 |
Punctaj total | 100 |