Pagini recente » Borderou de evaluare (job #1214031) | Cod sursa (job #2412179) | Borderou de evaluare (job #1885340) | Borderou de evaluare (job #2238523) | Borderou de evaluare (job #2270764)
Borderou de evaluare (job #2270764)
Raport evaluator
Compilare:
main.cpp: In function 'void desc(long long int, int&)':
main.cpp:32:30: warning: narrowing conversion of 'x' from 'long long int' to 'int' inside { } [-Wnarrowing]
if(x > 1) p[++NR] = {x, 1};
^
main.cpp: In function 'int main()':
main.cpp:44:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sumdiv.in", "r", stdin);
^
main.cpp:45:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sumdiv.out", "w", stdout);
^
main.cpp:48:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 2ms | 131kb | OK | 10 |
6 | 2ms | 131kb | OK | 10 |
7 | 2ms | 131kb | OK | 10 |
8 | 2ms | 131kb | OK | 10 |
9 | 2ms | 131kb | OK | 10 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 100 |