Pagini recente » Borderou de evaluare (job #591758) | Borderou de evaluare (job #992256) | Borderou de evaluare (job #222618) | Borderou de evaluare (job #1955277) | Borderou de evaluare (job #2564973)
Borderou de evaluare (job #2564973)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:43:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < v.size() ; i ++)
~~^~~~~~~~~~
main.cpp:44:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = i + 1 ; j < v.size() ; j ++)
~~^~~~~~~~~~
main.cpp:53:39: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<armonica>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n" , 2 * ans.size() - 1);
^
main.cpp:54:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < ans.size() ; i ++)
~~^~~~~~~~~~~~
main.cpp:27:36: warning: unused variable 'aux' [-Wunused-variable]
long long b , bb , d , i , j , aux;
^~~
main.cpp:25:41: 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:26:43: 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:28:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld" , &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | 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 | 3ms | 131kb | Corect! | 5 |
8 | 3ms | 131kb | Corect! | 5 |
9 | 50ms | 782kb | Corect! | 5 |
10 | 30ms | 524kb | Corect! | 5 |
11 | 15ms | 393kb | Corect! | 5 |
12 | 19ms | 393kb | Corect! | 5 |
13 | 3ms | 131kb | Corect! | 5 |
14 | 11ms | 131kb | 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 |