Pagini recente » Borderou de evaluare (job #474328) | Borderou de evaluare (job #3302839) | Borderou de evaluare (job #3306987) | Borderou de evaluare (job #2280942) | Borderou de evaluare (job #2350189)
Borderou de evaluare (job #2350189)
Raport evaluator
Compilare:
main.cpp: In function 'void inmatr(long long int (*)[4], long long int (*)[4])':
main.cpp:18: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:38: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:38:28: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
main.cpp:38:28: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
main.cpp:39: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:60:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d",sol[1][1]);
^
main.cpp:36: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:37: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:38: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 | Raspuns gresit! | 0 |
| 11 | 2ms | 131kb | Raspuns gresit! | 0 |
| 12 | 2ms | 131kb | Raspuns gresit! | 0 |
| 13 | 2ms | 131kb | Raspuns gresit! | 0 |
| 14 | 2ms | 131kb | Raspuns gresit! | 0 |
| 15 | 2ms | 131kb | Raspuns gresit! | 0 |
| 16 | 2ms | 131kb | Raspuns gresit! | 0 |
| 17 | 2ms | 131kb | Raspuns gresit! | 0 |
| 18 | 2ms | 131kb | Raspuns gresit! | 0 |
| 19 | 2ms | 131kb | Raspuns gresit! | 0 |
| 20 | 2ms | 131kb | Corect! | 2 |
| Punctaj total | 20 |