Pagini recente » Borderou de evaluare (job #2111933) | Borderou de evaluare (job #429670) | Borderou de evaluare (job #1397861) | Borderou de evaluare (job #3211848) | Borderou de evaluare (job #2133660)
Borderou de evaluare (job #2133660)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:26:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < divi.size(); ++i){
^
user.cpp:27:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = i; j < divi.size(); ++j){
^
user.cpp: In function ‘void print()’:
user.cpp:39:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::set<std::pair<long long int, long long int> >::size_type {aka long unsigned int}’ [-Wformat=]
printf("%d\n", sol.size());
^
user.cpp: In function ‘int main()’:
user.cpp:46:39: 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);
^
user.cpp:47:41: 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);
^
user.cpp:48:20: 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 | 0ms | 1500kb | Corect! | 5 |
2 | 0ms | 1504kb | Corect! | 5 |
3 | 0ms | 1516kb | Corect! | 5 |
4 | 0ms | 1556kb | Corect! | 5 |
5 | 0ms | 1492kb | Corect! | 5 |
6 | 0ms | 1508kb | Corect! | 5 |
7 | 0ms | 1536kb | Corect! | 5 |
8 | 0ms | 1536kb | Corect! | 5 |
9 | 88ms | 2728kb | Corect! | 5 |
10 | 28ms | 2180kb | Corect! | 5 |
11 | 28ms | 1904kb | Corect! | 5 |
12 | 36ms | 1848kb | Corect! | 5 |
13 | 0ms | 1508kb | Corect! | 5 |
14 | 12ms | 1612kb | Corect! | 5 |
15 | 0ms | 1496kb | Corect! | 5 |
16 | 0ms | 1500kb | Corect! | 5 |
17 | 0ms | 1496kb | Corect! | 5 |
18 | 0ms | 1500kb | Corect! | 5 |
19 | 0ms | 1500kb | Corect! (Exemplu) | 10 |
Punctaj total | 100 |