Pagini recente » Borderou de evaluare (job #2877416) | Borderou de evaluare (job #2608028) | Borderou de evaluare (job #1543930) | Borderou de evaluare (job #531747) | Borderou de evaluare (job #492388)
Borderou de evaluare (job #492388)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:14:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d %d",&n,&p,&k);
^
user.cpp:14:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:14:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:17:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d",&D[i],&C[i]);
^
user.cpp:17:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:13:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.in","r",stdin);
^
user.cpp:14:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&n,&p,&k);
^
user.cpp:17:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&D[i],&C[i]);
^
user.cpp:20:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%d %d",&x,&y);
^
user.cpp: In function ‘void afisare()’:
user.cpp:77:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 600kb | OK | 10 |
2 | 0ms | 588kb | OK | 10 |
3 | 72ms | 672kb | OK | 10 |
4 | Depăşit | 680kb | Time limit exceeded. | 0 |
5 | 8ms | 584kb | OK | 10 |
6 | 0ms | 604kb | OK | 10 |
7 | 0ms | 616kb | OK | 10 |
8 | 0ms | 596kb | OK | 10 |
9 | 44ms | 688kb | OK | 10 |
10 | 56ms | 644kb | OK | 10 |
Punctaj total | 90 |