Pagini recente » Borderou de evaluare (job #2672992) | Borderou de evaluare (job #1030310) | Borderou de evaluare (job #52006) | Borderou de evaluare (job #1030372) | Borderou de evaluare (job #1853198)
Borderou de evaluare (job #1853198)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld",&n,&q);
^
user.cpp:34:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:38:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&k);
^
user.cpp:42:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&x);
^
user.cpp:68:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=1;i<rez.size();i++)
^
user.cpp:80:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&x);
^
user.cpp:33:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("albinuta.in","r",stdin);
^
user.cpp:34:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&n,&q);
^
user.cpp:38:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&k);
^
user.cpp:42:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&x);
^
user.cpp:80:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&x);
^
user.cpp:87:19: warning: ‘sav’ may be used uninitialized in this function [-Wmaybe-uninitialized]
x-=sav;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | OK | 5 |
2 | 0ms | 440kb | OK | 5 |
3 | 0ms | 448kb | OK | 5 |
4 | 0ms | 452kb | OK | 5 |
5 | 0ms | 472kb | OK | 5 |
6 | 0ms | 476kb | OK | 5 |
7 | 0ms | 508kb | OK | 5 |
8 | 0ms | 556kb | OK | 5 |
9 | 0ms | 568kb | OK | 10 |
10 | 0ms | 568kb | OK | 10 |
11 | 4ms | 1008kb | OK | 10 |
12 | 4ms | 1040kb | OK | 10 |
13 | 0ms | 784kb | OK | 10 |
14 | 4ms | 1024kb | OK | 10 |
Punctaj total | 100 |