Pagini recente » Borderou de evaluare (job #2311504) | Borderou de evaluare (job #693246) | Borderou de evaluare (job #1727225) | Borderou de evaluare (job #178687) | Borderou de evaluare (job #1800478)
Borderou de evaluare (job #1800478)
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 | 116ms | 1384kb | Incorect | 0 |
2 | 88ms | 1184kb | Incorect | 0 |
3 | 60ms | 916kb | Incorect | 0 |
4 | 68ms | 916kb | Incorect | 0 |
5 | 92ms | 1172kb | Incorect | 0 |
6 | 0ms | 1444kb | OK | 5 |
7 | 0ms | 1448kb | OK | 5 |
8 | 92ms | 1584kb | OK | 5 |
9 | 116ms | 1616kb | OK | 5 |
10 | 28ms | 1492kb | OK | 5 |
11 | 120ms | 1624kb | OK | 5 |
12 | 92ms | 1584kb | OK | 5 |
13 | 112ms | 1608kb | OK | 5 |
14 | 228ms | 2256kb | Incorect | 0 |
15 | 372ms | 2572kb | Incorect | 0 |
16 | 76ms | 2160kb | Incorect | 0 |
17 | 380ms | 2544kb | Incorect | 0 |
18 | 104ms | 2400kb | Incorect | 0 |
19 | 256ms | 2140kb | Incorect | 0 |
20 | 40ms | 668kb | OK | 5 |
Punctaj total | 45 |