Pagini recente » Borderou de evaluare (job #1166008) | Borderou de evaluare (job #491895) | Borderou de evaluare (job #1317081) | Borderou de evaluare (job #2668640) | Borderou de evaluare (job #1838434)
Borderou de evaluare (job #1838434)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:29: warning: variable ‘cons’ set but not used [-Wunused-but-set-variable]
int n, m, p, maxcons = 1, cons, k = 0, ap, c;
^
user.cpp:7:42: warning: variable ‘ap’ set but not used [-Wunused-but-set-variable]
int n, m, p, maxcons = 1, cons, k = 0, ap, c;
^
user.cpp:7:46: warning: variable ‘c’ set but not used [-Wunused-but-set-variable]
int n, m, p, maxcons = 1, cons, k = 0, ap, c;
^
user.cpp:5:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("livada.in", "r", stdin);
^
user.cpp:6:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("livada.out", "w", stdout);
^
user.cpp:8:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &p);
^
user.cpp:10:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[1]);
^
user.cpp:15:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | Raspuns gresit! | 0 |
2 | 0ms | 264kb | Raspuns gresit! | 0 |
3 | 0ms | 236kb | Wall time limit exceeded. | 0 |
4 | 0ms | 244kb | Wall time limit exceeded. | 0 |
5 | 0ms | 240kb | Wall time limit exceeded. | 0 |
6 | 0ms | 240kb | Wall time limit exceeded. | 0 |
7 | 0ms | 240kb | Wall time limit exceeded. | 0 |
8 | 0ms | 240kb | Wall time limit exceeded. | 0 |
9 | 0ms | 240kb | Wall time limit exceeded. | 0 |
10 | 0ms | 240kb | Wall time limit exceeded. | 0 |
Punctaj total | 0 |