Pagini recente » Diferente pentru problema/magic intre reviziile 7 si 8 | Borderou de evaluare (job #1377674) | Borderou de evaluare (job #882200) | Borderou de evaluare (job #2827040) | Borderou de evaluare (job #1629443)
Borderou de evaluare (job #1629443)
Raport evaluator
Compilare:
user.cpp: In member function ‘void Mat::print()’:
user.cpp:57:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ", c[i][j]);
^
user.cpp: In function ‘Mat calc2(int)’:
user.cpp:72:9: warning: variable ‘k’ set but not used [-Wunused-but-set-variable]
int k = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:91:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", calc2(n - k + 1).c[0][0]);
^
user.cpp:84:9: warning: unused variable ‘i’ [-Wunused-variable]
int i, j;
^
user.cpp:84:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j;
^
user.cpp:85:35: 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);
^
user.cpp:86:37: 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);
^
user.cpp:87:34: 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 | 0ms | 252kb | Corect! | 2 |
| 2 | 0ms | 256kb | Raspuns gresit! | 0 |
| 3 | 0ms | 248kb | Raspuns gresit! | 0 |
| 4 | 0ms | 252kb | Corect! | 2 |
| 5 | 0ms | 252kb | Raspuns gresit! | 0 |
| 6 | 0ms | 252kb | Corect! | 2 |
| 7 | 0ms | 252kb | Raspuns gresit! | 0 |
| 8 | 0ms | 256kb | Corect! | 2 |
| 9 | 0ms | 248kb | Raspuns gresit! | 0 |
| 10 | 0ms | 252kb | Corect! | 8 |
| 11 | 0ms | 252kb | Corect! | 8 |
| 12 | 0ms | 256kb | Corect! | 8 |
| 13 | 0ms | 256kb | Corect! | 8 |
| 14 | 0ms | 256kb | Corect! | 8 |
| 15 | 0ms | 256kb | Corect! | 8 |
| 16 | 0ms | 264kb | Corect! | 8 |
| 17 | 0ms | 260kb | Corect! | 8 |
| 18 | 0ms | 260kb | Corect! | 8 |
| 19 | 0ms | 264kb | Corect! | 8 |
| 20 | 0ms | 248kb | Corect! | 2 |
| Punctaj total | 90 |