Pagini recente »
Borderou de evaluare (job #143573)
|
Borderou de evaluare (job #298009)
|
Borderou de evaluare (job #158405)
|
Borderou de evaluare (job #138285)
|
Borderou de evaluare (job #805529)
Borderou de evaluare (job #805529)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:10:27: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
10 | scanf("%lld", &a[i]);
| ~~~^ ~~~~~
| | |
| | int*
| long long int*
| %d
main.cpp:7:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
7 | freopen("sume.in","r",stdin);freopen("sume.out","w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp:7:45: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
7 | freopen("sume.in","r",stdin);freopen("sume.out","w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:8:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | scanf("%d %d", &n, &k); int a[n];
| ~~~~~^~~~~~~~~~~~~~~~~
main.cpp:10:22: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | scanf("%lld", &a[i]);
| ~~~~~^~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
5
|
1 ms
|
266 kb
|
OK
|
10
|
6
|
1 ms
|
245 kb
|
OK
|
10
|
7
|
79 ms
|
770 kb
|
OK
|
10
|
8
|
409 ms
|
4182 kb
|
Time limit exceeded
|
0
|
9
|
409 ms
|
4182 kb
|
Time limit exceeded
|
0
|
10
|
409 ms
|
3919 kb
|
Time limit exceeded
|
0
|
Punctaj total
|
70
|