Pagini recente » Borderou de evaluare (job #1222753) | Borderou de evaluare (job #582983) | Borderou de evaluare (job #2182249) | Borderou de evaluare (job #1553088) | Borderou de evaluare (job #2480210)
Borderou de evaluare (job #2480210)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:23:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<v.size();i++)
~^~~~~~~~~
main.cpp:24:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=i;j<v.size();j++){
~^~~~~~~~~
main.cpp:28:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(d1%2==b%2&&d2%2==b%2){
~~~~^~~~~
main.cpp:28:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(d1%2==b%2&&d2%2==b%2){
~~~~^~~~~
main.cpp:34:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::set<std::pair<long long unsigned int, long long unsigned int> >::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n",s.size());
^
main.cpp:12:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("armonica.in","r",stdin);
^
main.cpp:13:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("armonica.out","w",stdout);
^
main.cpp:14:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 262kb | Corect! | 5 |
2 | 2ms | 131kb | Corect! | 5 |
3 | 3ms | 131kb | Corect! | 5 |
4 | 4ms | 131kb | Corect! | 5 |
5 | 2ms | 131kb | Corect! | 5 |
6 | 2ms | 131kb | Corect! | 5 |
7 | 4ms | 131kb | Corect! | 5 |
8 | 4ms | 131kb | Corect! | 5 |
9 | 91ms | 1835kb | Corect! | 5 |
10 | 35ms | 1048kb | Corect! | 5 |
11 | 30ms | 655kb | Corect! | 5 |
12 | 38ms | 638kb | Corect! | 5 |
13 | 3ms | 131kb | Corect! | 5 |
14 | 14ms | 262kb | Corect! | 5 |
15 | 3ms | 131kb | Corect! | 5 |
16 | 3ms | 131kb | Corect! | 5 |
17 | 3ms | 131kb | Corect! | 5 |
18 | 3ms | 131kb | Corect! | 5 |
19 | 2ms | 131kb | Corect! (Exemplu) | 10 |
Punctaj total | 100 |