Pagini recente » Borderou de evaluare (job #2795431) | Borderou de evaluare (job #1801774) | Borderou de evaluare (job #318085) | Borderou de evaluare (job #1442931) | Borderou de evaluare (job #2693498)
Borderou de evaluare (job #2693498)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:43: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:16: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:17: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:20:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&k);
^
main.cpp:27:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 7ms | 2097kb | OK | 10 |
2 | 18ms | 2097kb | OK | 10 |
3 | 39ms | 2097kb | OK | 10 |
4 | 48ms | 2097kb | OK | 10 |
5 | 52ms | 2097kb | OK | 10 |
6 | 25ms | 2097kb | OK | 10 |
7 | 43ms | 2097kb | OK | 10 |
8 | 50ms | 2097kb | OK | 10 |
9 | 53ms | 2097kb | OK | 10 |
10 | 56ms | 2097kb | OK | 10 |
Punctaj total | 100 |