Pagini recente » Borderou de evaluare (job #2955734) | Borderou de evaluare (job #2575584) | Borderou de evaluare (job #1858763) | Borderou de evaluare (job #1993308) | Borderou de evaluare (job #2267917)
Borderou de evaluare (job #2267917)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:16:26: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=]
scanf("%d", &a[i]), d[i][i] = 1, nr[i][i] = 1;
^
main.cpp:11:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("maxpal.in", "r", stdin);
^
main.cpp:12:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("maxpal.out", "w", stdout);
^
main.cpp:14:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:16:54: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]), d[i][i] = 1, nr[i][i] = 1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 262kb | Corect! | 10 |
2 | 4ms | 917kb | Corect! | 10 |
3 | 7ms | 2228kb | Corect! | 10 |
4 | 15ms | 4718kb | Corect! | 10 |
5 | 28ms | 7864kb | Corect! | 10 |
6 | 39ms | 10223kb | Corect! | 10 |
7 | 68ms | 14417kb | Corect! | 10 |
8 | 73ms | 16252kb | Corect! | 10 |
9 | 80ms | 20496kb | Memory limit exceeded | 0 |
10 | 101ms | 20054kb | Time limit exceeded | 0 |
Punctaj total | 80 |