Pagini recente » Borderou de evaluare (job #1344238) | Borderou de evaluare (job #696893) | Borderou de evaluare (job #1606568) | Borderou de evaluare (job #1482690) | Borderou de evaluare (job #2296470)
Borderou de evaluare (job #2296470)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:63:29: 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",sol.size());
^
main.cpp:64:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < sol.size() ; i++)
~~^~~~~~~~~~~~
main.cpp:16:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.in","r",stdin);
^
main.cpp:17:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.out","w",stdout);
^
main.cpp:19:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:21:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
main.cpp:45:9: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized]
int pos;
^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 10ms | 131kb | Corect! | 10 | 10 |
2 | 4ms | 131kb | Corect! | 10 | 10 |
3 | 2ms | 131kb | Corect! | 10 | 10 |
4 | 3ms | 131kb | Corect! | 10 | 10 |
5 | 3ms | 131kb | Corect! | 10 | 10 |
6 | 3ms | 131kb | Corect! | 10 | 10 |
7 | 3ms | 131kb | Corect! | 10 | 10 |
8 | 7ms | 131kb | Wall time limit exceeded | 0 | 0 |
9 | 6ms | 131kb | Wall time limit exceeded | 0 |
10 | 7ms | 131kb | Wall time limit exceeded | 0 |
Punctaj total | 70 |