Pagini recente » Borderou de evaluare (job #1936086) | Borderou de evaluare (job #1527738) | Borderou de evaluare (job #209086) | Borderou de evaluare (job #1537723) | Borderou de evaluare (job #2133655)
Borderou de evaluare (job #2133655)
Raport evaluator
Compilare:
user.cpp: In function ‘void solutie()’:
user.cpp:30:44: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(div1!=div2 && (div1%div2!=0 && div2%div1!=0 || div1==1 || div2==1))
^
user.cpp: In function ‘void afisare()’:
user.cpp:42: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:49: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:50: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:52:22: 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 | 0ms | 1496kb | Corect! | 5 |
2 | 0ms | 1508kb | Corect! | 5 |
3 | 0ms | 1520kb | Corect! | 5 |
4 | 4ms | 1568kb | Corect! | 5 |
5 | 0ms | 1504kb | Corect! | 5 |
6 | 0ms | 1508kb | Corect! | 5 |
7 | 0ms | 1544kb | Corect! | 5 |
8 | 0ms | 1544kb | Corect! | 5 |
9 | 104ms | 2728kb | Corect! | 5 |
10 | 56ms | 2184kb | Corect! | 5 |
11 | 24ms | 1912kb | Corect! | 5 |
12 | 32ms | 1856kb | Corect! | 5 |
13 | 0ms | 1508kb | Corect! | 5 |
14 | 20ms | 1612kb | Corect! | 5 |
15 | 0ms | 1504kb | Corect! | 5 |
16 | 0ms | 1504kb | Corect! | 5 |
17 | 0ms | 1504kb | Corect! | 5 |
18 | 0ms | 1504kb | Corect! | 5 |
19 | 0ms | 1496kb | Corect! (Exemplu) | 10 |
Punctaj total | 100 |