Pagini recente » Borderou de evaluare (job #1143486) | Borderou de evaluare (job #1448347) | Borderou de evaluare (job #3156719) | Borderou de evaluare (job #302358) | Borderou de evaluare (job #492386)
Borderou de evaluare (job #492386)
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 | 596kb | OK | 10 |
2 | 0ms | 592kb | OK | 10 |
3 | 72ms | 736kb | OK | 10 |
4 | Depăşit | 776kb | Time limit exceeded. | 0 |
5 | 8ms | 584kb | OK | 10 |
6 | 0ms | 604kb | OK | 10 |
7 | 0ms | 620kb | OK | 10 |
8 | 0ms | 600kb | OK | 10 |
9 | 48ms | 776kb | OK | 10 |
10 | 56ms | 688kb | OK | 10 |
Punctaj total | 90 |