Pagini recente » Borderou de evaluare (job #3305556) | Borderou de evaluare (job #480931) | Borderou de evaluare (job #1374146) | Borderou de evaluare (job #3307426) | Borderou de evaluare (job #2350217)
Borderou de evaluare (job #2350217)
Raport evaluator
Compilare:
main.cpp: In function 'void inmatr(long long int (*)[4], long long int (*)[4])':
main.cpp:19:16: warning: variable 'kj' set but not used [-Wunused-but-set-variable]
long long ki,i,kj,j;
^~
main.cpp: In function 'int main()':
main.cpp:55:28: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d%d%d",&p,&n,&k);
^
main.cpp:55:28: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
main.cpp:55:28: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
main.cpp:56:39: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
if(p==1) printf("%d",putere(3,k-1));
^
main.cpp:53:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("2sah.in","r",stdin);
^
main.cpp:54:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("2sah.out","w",stdout);
^
main.cpp:55:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&p,&n,&k);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Corect! | 2 |
| 2 | 2ms | 131kb | Corect! | 2 |
| 3 | 2ms | 131kb | Corect! | 2 |
| 4 | 2ms | 131kb | Corect! | 2 |
| 5 | 2ms | 131kb | Corect! | 2 |
| 6 | 2ms | 131kb | Corect! | 2 |
| 7 | 2ms | 131kb | Corect! | 2 |
| 8 | 2ms | 131kb | Corect! | 2 |
| 9 | 2ms | 131kb | Corect! | 2 |
| 10 | 2ms | 131kb | Corect! | 8 |
| 11 | 2ms | 131kb | Corect! | 8 |
| 12 | 2ms | 131kb | Corect! | 8 |
| 13 | 2ms | 131kb | Corect! | 8 |
| 14 | 2ms | 131kb | Corect! | 8 |
| 15 | 2ms | 131kb | Corect! | 8 |
| 16 | 2ms | 131kb | Corect! | 8 |
| 17 | 2ms | 131kb | Corect! | 8 |
| 18 | 2ms | 131kb | Corect! | 8 |
| 19 | 2ms | 131kb | Corect! | 8 |
| 20 | 2ms | 131kb | Corect! | 2 |
| Punctaj total | 100 |