Pagini recente » Borderou de evaluare (job #2266063) | Borderou de evaluare (job #929594) | Borderou de evaluare (job #958608) | Borderou de evaluare (job #402842) | Borderou de evaluare (job #2426059)
Borderou de evaluare (job #2426059)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:48:39: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d %d\n",min_or,ans.size());
^
main.cpp:20:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sormin.in" ,"r" ,stdin);
^
main.cpp:21:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sormin.out" ,"w" ,stdout);
^
main.cpp:23:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&s);
^
main.cpp:25:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 393ms | 225kb | Corect! | 10 |
2 | 535ms | 262kb | Corect! | 10 |
3 | 835ms | 253kb | Corect! | 10 |
4 | 1036ms | 344kb | Corect! | 10 |
5 | 1503ms | 532kb | Time limit exceeded | 0 |
6 | 1502ms | 483kb | Time limit exceeded | 0 |
7 | 1500ms | 524kb | Time limit exceeded | 0 |
8 | 1500ms | 536kb | Time limit exceeded | 0 |
9 | 1501ms | 524kb | Time limit exceeded | 0 |
10 | 170ms | 229kb | Corect! | 10 |
Punctaj total | 50 |