Pagini recente » Borderou de evaluare (job #1854267) | Borderou de evaluare (job #1806571) | Borderou de evaluare (job #1389778) | Borderou de evaluare (job #1413656) | Borderou de evaluare (job #2320385)
Borderou de evaluare (job #2320385)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:9:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("calorifer.in", "r", stdin);
^
main.cpp:10:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("calorifer.out", "w", stdout);
^
main.cpp:12:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:13:79: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i = 1; i <= n; ++i) scanf("%d", a + i), g = __gcd(g, a[i]), order[i] = i;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 118ms | 2621kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 3ms | 131kb | OK | 10 |
6 | 15ms | 393kb | OK | 10 |
7 | 114ms | 2490kb | OK | 10 |
8 | 127ms | 2621kb | OK | 10 |
9 | 100ms | 2228kb | OK | 10 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 100 |