Pagini recente » Borderou de evaluare (job #2943399) | Borderou de evaluare (job #3247986) | Borderou de evaluare (job #409663) | Borderou de evaluare (job #2157049) | Borderou de evaluare (job #1337677)
Borderou de evaluare (job #1337677)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:16: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&n);pos=0;
^
user.cpp:35:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld",&x,&y);
^
user.cpp:35:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:49:22: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld",dist[n]);
^
user.cpp:30:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("darb.in","r",stdin);
^
user.cpp:31:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("darb.out","w",stdout);
^
user.cpp:32:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);pos=0;
^
user.cpp:35:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 280kb | OK | 10 |
4 | 0ms | 320kb | OK | 10 |
5 | 4ms | 628kb | OK | 10 |
6 | 24ms | 1504kb | OK | 10 |
7 | 36ms | 2032kb | OK | 10 |
8 | 68ms | 2972kb | OK | 10 |
9 | 52ms | 3524kb | OK | 10 |
10 | 104ms | 3768kb | OK | 10 |
Punctaj total | 100 |