Pagini recente » Borderou de evaluare (job #2746834) | Borderou de evaluare (job #372687) | Borderou de evaluare (job #2635064) | Borderou de evaluare (job #246793) | Borderou de evaluare (job #1800481)
Borderou de evaluare (job #1800481)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &caz);
^
user.cpp:40:49: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%lld", a[n] * a[n] - a[1] * a[1]);
^
user.cpp:31:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dif2.in", "r", stdin);
^
user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dif2.out", "w", stdout);
^
user.cpp:33:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &caz);
^
user.cpp:36:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:38:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:43:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%lld%lld", &n, &p1, &p2);
^
user.cpp:45:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 108ms | 1388kb | Incorect | 0 |
2 | 92ms | 1184kb | Incorect | 0 |
3 | 64ms | 916kb | Incorect | 0 |
4 | 68ms | 924kb | Incorect | 0 |
5 | 92ms | 1172kb | Incorect | 0 |
6 | 0ms | 1440kb | OK | 5 |
7 | 0ms | 1448kb | OK | 5 |
8 | 96ms | 1580kb | OK | 5 |
9 | 116ms | 1616kb | OK | 5 |
10 | 28ms | 1492kb | OK | 5 |
11 | 120ms | 1620kb | OK | 5 |
12 | 92ms | 1584kb | OK | 5 |
13 | 112ms | 1616kb | OK | 5 |
14 | 368ms | 2260kb | Incorect | 0 |
15 | 512ms | 2572kb | Incorect | 0 |
16 | 316ms | 2156kb | Incorect | 0 |
17 | 508ms | 2544kb | Incorect | 0 |
18 | 436ms | 2400kb | Incorect | 0 |
19 | 312ms | 2148kb | Incorect | 0 |
20 | 36ms | 664kb | OK | 5 |
Punctaj total | 45 |