Pagini recente » Borderou de evaluare (job #271778) | Borderou de evaluare (job #866856) | Borderou de evaluare (job #677593) | Borderou de evaluare (job #329435) | Borderou de evaluare (job #2418072)
Borderou de evaluare (job #2418072)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:14:26: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
scanf("%lld",&cerinta);
^
main.cpp:21:25: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
scanf("%lld", &n);
^
main.cpp:25:35: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
scanf("%lld", &element);
^
main.cpp:44:35: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
scanf("%lld", &v[i]);
^
main.cpp:11:33: 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);
^
main.cpp:12:35: 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);
^
main.cpp:14:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&cerinta);
^
main.cpp:21:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &n);
^
main.cpp:25:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &element);
^
main.cpp:44:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &v[i]);
^
main.cpp:107:27: warning: 'n1' may be used uninitialized in this function [-Wmaybe-uninitialized]
long long n3 = n1 - n2;
~~~^~~~
main.cpp:107:27: warning: 'n2' may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 109ms | 131kb | OK | 5 |
2 | 88ms | 131kb | OK | 5 |
3 | 62ms | 131kb | OK | 5 |
4 | 63ms | 131kb | OK | 5 |
5 | 86ms | 131kb | OK | 5 |
6 | 2ms | 131kb | OK | 5 |
7 | 2ms | 131kb | OK | 5 |
8 | 54ms | 262kb | OK | 5 |
9 | 63ms | 262kb | OK | 5 |
10 | 17ms | 131kb | OK | 5 |
11 | 73ms | 262kb | OK | 5 |
12 | 703ms | 262kb | Time limit exceeded | 0 |
13 | 700ms | 262kb | Time limit exceeded | 0 |
14 | 195ms | 917kb | Incorect | 0 |
15 | 304ms | 1310kb | Incorect | 0 |
16 | 98ms | 917kb | Incorect | 0 |
17 | 139ms | 1310kb | Incorect | 0 |
18 | 250ms | 1179kb | Incorect | 0 |
19 | 97ms | 786kb | Incorect | 0 |
20 | 38ms | 131kb | OK | 5 |
Punctaj total | 60 |