Pagini recente » Borderou de evaluare (job #2384422) | Borderou de evaluare (job #1295553) | Borderou de evaluare (job #2165137) | Borderou de evaluare (job #1345996) | Borderou de evaluare (job #492378)
Borderou de evaluare (job #492378)
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:71: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 | 604kb | OK | 10 |
2 | 0ms | 592kb | OK | 10 |
3 | 72ms | 828kb | Incorect | 0 |
4 | Depăşit | 784kb | Time limit exceeded. | 0 |
5 | 8ms | 652kb | OK | 10 |
6 | 0ms | 620kb | Incorect | 0 |
7 | 0ms | 644kb | OK | 10 |
8 | 0ms | 604kb | Incorect | 0 |
9 | 48ms | 848kb | OK | 10 |
10 | 56ms | 784kb | OK | 10 |
Punctaj total | 60 |