Pagini recente » Borderou de evaluare (job #1525707) | Borderou de evaluare (job #287743) | Borderou de evaluare (job #1012486) | Borderou de evaluare (job #1602131) | Borderou de evaluare (job #1286948)
Borderou de evaluare (job #1286948)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:10:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld %ld",&n,&p);
^
user.cpp:10:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:12:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&v[i]);
^
user.cpp: In function ‘void rezolvare()’:
user.cpp:36:27: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",rez);
^
user.cpp: In function ‘void citire()’:
user.cpp:10:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&n,&p);
^
user.cpp:12:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&v[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:41:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perioada01.in","r",stdin);
^
user.cpp:42:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perioada01.out","w",stdout);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✗ | 1 | 0ms | 264kb | OK | 10 | 20 |
✓ | 2 | 0ms | 252kb | OK | 10 |
✗ | 3 | 0ms | 240kb | OK | 10 | 20 |
✗ | 4 | 0ms | 252kb | OK | 10 |
✓ | 5 | 28ms | 584kb | OK | 10 | 20 |
✗ | 6 | 28ms | 564kb | OK | 10 |
✗ | 7 | 204ms | 3068kb | OK | 10 | 40 |
✓ | 8 | 228ms | 3068kb | OK | 10 |
✗ | 9 | 236ms | 3068kb | OK | 10 |
✗ | 10 | 468ms | 3048kb | OK | 10 |
Punctaj total | 100 |